[{"label":"Latest (v1.0)","version":"latest"}]
csp

Delete Custom Role

Description

Delete custom role by name.

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
Organization Admin ✔️ ✔️
Organization Owner ✔️ ✔️

Request

Request

URL

URL


delete
https://{api_host}/csp/gateway/iam-roles-mgmt/api/orgs/{orgId}/custom-roles/{roleName}
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

Success

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

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
Feedback

Was this page helpful?