A newer version is available. For the latest information, see the
current release documentation.
Delete role
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete role
editDelete a role.
Request
editDELETE /api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
User-specified Blueprinter role ID. |
Query parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
N |
When sent as true, ignores validation errors. |
|
|
N |
When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request) |
Responses
edit-
200 -
The role was successfully deleted.
-
400 -
The role is currently running container sets. (code:
roles.in_use)Headers
-
x-cloud-error-codes(string; allowed values: [roles.in_use]) - The error codes associated with the response
-
-
404 -
The role can't be found. (code:
roles.not_found)Headers
-
x-cloud-error-codes(string; allowed values: [roles.not_found]) - The error codes associated with the response
-
-
409 -
Your request failed because the specified version does not match the persisted version. (code:
roles.version_conflict)Headers
-
x-cloud-error-codes(string; allowed values: [roles.version_conflict]) - The error codes associated with the response
-
Request example
editcurl -XDELETE https://{{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id} \
-H "Authorization: ApiKey $ECE_API_KEY"