Path parameters
-
User-specified Blueprinter role ID.
Query parameters
-
skip_validations boolean
When sent as true, ignores validation errors.
Default value is
false
. -
version integer
When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
Responses
-
The role was successfully deleted.
Additional properties are allowed.
-
The role is currently running container sets. (code:
roles.in_use
) -
The role can't be found. (code:
roles.not_found
) -
Your request failed because the specified version does not match the persisted version. (code:
roles.version_conflict
)
DELETE
/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}
curl \
-X DELETE https://{{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}
Response examples (200)
{}
Response examples (400)
# Headers
x-cloud-error-codes: roles.in_use
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: roles.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (409)
# Headers
x-cloud-error-codes: roles.version_conflict
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}