Delete roleedit

Delete a role.

Requestedit

DELETE /api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}

Path parametersedit

Name Type Required Description

blueprinter_role_id

string

Y

User-specified Blueprinter role ID.

Query parametersedit

Name Type Required Description

version

integer

N

When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)

Responsesedit

200

(EmptyResponse) The role was successfully deleted.

400

(BasicFailedReply) The role is currently running container sets. (code: roles.in_use)

404

(BasicFailedReply) The role can't be found. (code: roles.not_found)

409

(BasicFailedReply) Your request failed because the specified version does not match the persisted version. (code: roles.version_conflict)

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request exampleedit

curl -XDELETE {{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id} \
-u $CLOUD_USER:$CLOUD_KEY