Skip to 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

Parameter Description Type Required/ Optional
key The name of the environment variable to delete. string Required.

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 }