Consumer Role

Delete a consumer role

Deletes the role. A role that consumers, applications or API proxy authorization settings still hold is 409 dependencyConflict (reason roleInUse; params consumerCount, applicationCount, apiProxyCount) and nothing changes. With force=true the role is deleted the way the Consumer Roles screen deletes it: removed from those consumers, applications and API proxies, then undeployed. runtimeDeployment reports the gateway undeploy.

delete/apiops/projects/{projectName}/consumer-roles/{roleName}

Request

Path parameters

projectNamestring required
roleNamestring required

Query parameters

forceboolean

Response

OK

status'SUCCESS' | 'FAILURE'
resourceVersioninteger

Changes

No recorded changes to this operation across all 21 revisions of this API.