2.1 KiB
Return to top
Delete Environment
==================================================================================================================
DELETE
/projects/{uuid}/environments/{environment_name_or_uuid}
Delete environment by name or UUID. Environment must be empty.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters
Path Parameters
uuid*
Project UUID
Type
string
Required
environment_name_or_uuid*
Environment name or UUID
Type
string
Required
Responses
200400401404422
Environment deleted.
Content-Type
application/json
SchemaJSON
JSON
{
"message": "Environment deleted."
}
DELETE
/projects/{uuid}/environments/{environment_name_or_uuid}
Playground
Authorization
bearerAuth
Variables
Key
Value
uuid*
environment_name_or_uuid*
Try it out
Samples
Powered by VitePress OpenAPI