Revoke User Invitation By Organization Id And User Invitation Id Using DELETE
Revoke invitation of a user (by invitation ID).
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Unique identifier (GUID) of the invitation.
OK
The user is not authorized to use the API
{
"cspErrorCode": "string",
"message": "string",
"errorCode": "string",
"requestId": "string",
"moduleCode": 0,
"statusCode": 0
}
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
Organization with this identifier is not found. | Role not found
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/invitations/{userInvitationId}