Skip to main content

Delete Environment Variable

Endpoint: DELETE /api/environment/{key}

Deletes an environment variable. The requesting user must have either an Admin or Metadata role.

Path parameters

ParameterDescriptionTypeRequired/ Optional
keyThe name of the environment variable to delete.stringRequired.

Response

Returns the value of the environment variable that was deleted.

Examples

Delete an environment variable

Request

curl -X 'DELETE' \
'https://<YOUR-SERVER-URL>/api/environment/url' \
-H 'accept: text/plain' \
-H 'X-Authorization: <TOKEN>'

Response

{ "baseUrl": "https://orkes-api-tester.orkesconductor.com/api", "timeout": 5000 }