Delete a instance configuration

edit

Delete the instance configuration with the given id.

Request

edit

DELETE /api/v1/platform/configuration/instances/{id}

Path parameters

edit
Name Type Required Description

id

string

Y

ID of the instance configuration

Query parameters

edit
Name Type Required Description

version

integer

N

This is a database-level field, not related to the application-level 'config_version', except as described in the following docs. If specified, checks for conflicts against 'x-cloud-resource-version' from the GET request (the GET's 'config_version' should be left blank if the IC is configuration controlled, ie to get the latest configuration)

Responses

edit
200

(EmptyResponse)

Instance configuration specified by {id} was deleted

403

(BasicFailedReply)

Instance configuration specified by {id} is system owned (code: 'configuration.system_owned')

404

(BasicFailedReply)

Instance configuration specified by {id} cannot be found or the operation failed (code: 'configuration.instance_configuration_not_found')

Request example

edit
curl -XDELETE https://{{hostname}}/api/v1/platform/configuration/instances/{id} \
-H "Authorization: ApiKey $ECE_API_KEY"