[{"label":"Latest (v1.0)","version":"latest"}]
csp
Delete Custom Role
DescriptionDelete custom role by name.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Request
URLURL
https://{api_host}/csp/gateway/iam-roles-mgmt/api/orgs/{orgId}/custom-roles/{roleName}
Path Parameters
Path Parameters
string
orgId
Required
orgId
Parameter Serialization Style:
SIMPLE Explode:false
string
roleName
Required
Custom role name to delete
Parameter Serialization Style:
SIMPLE Explode:false
Authentication
This operation uses the following authentication methods.
Errors
Errors
CspErrorResponse
400
Invalid request body
CspErrorResponse
401
Unauthorized
CspErrorResponse
403
Forbidden
CspErrorResponse
404
Not Found
CspErrorResponse
429
The user has sent too many requests
CspErrorResponse
500
An unexpected error has occurred while processing the request
Code Samples
cURL Command
curl -X DELETE https://{api_host}/csp/gateway/iam-roles-mgmt/api/orgs/{orgId}/custom-roles/{roleName}
[{"label":"Latest (v1.0)","version":"latest"}]
csp
On This Page
Custom Roles Operations
post
delete
get
get
patch