Delete an environment
DELETE/environments/:environmentId
The operation allows you to remove a specific environment from the system permanently. However, before you can delete the environment, you must ensure that all associated resources and data within that environment are removed. If any resources remain, the operation will fail, and the environment will not be deleted.
Request
Path Parameters
environmentId stringrequired
Header Parameters
X-Codenow-Api-Key anyrequired
CodeNOW API Key
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Environment was deleted.
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: non-empty
{
"status": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.
Loading...