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
- Base URLhttp://167.86.118.166:32080
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectNamestring required
roleNamestring required
Query parameters
forceboolean
Response
OK
Changes
No recorded changes to this operation across all 21 revisions of this API.