CostSheets
CreditGrants
Credit Notes
Customers
Wallets
Invoices
Entitlements
Environments
Events
Features
Payments
Plans
Integrations
Subscriptions
Tenants
Users
Environments
Create an environment
Create an environment
POST
/
environments
Copy
curl --request POST \
--url https://api.cloud.flexprice.com/v1/environments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"type": "<string>"
}'
Copy
{
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
application/json
Environment
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
Copy
curl --request POST \
--url https://api.cloud.flexprice.com/v1/environments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"type": "<string>"
}'
Copy
{
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.