Remove Auto Entitlement Policies From Organization By Organization Id And Policy Id Using DELETE
Remove the Auto Entitlement Policy from the organization.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
"DeleteAutoEntitlementPolicyRequest Object"
Identifiers of the members that will be removed from the organization.
OK
{
"failed": [
"string"
],
"succeeded": [
"string"
],
"failures": [
{
"message": "string",
"id": "string",
"errorCode": "string"
}
]
}
The entities for which the operation failed.
The entities for which the operation is successful.
The Auto Entitlement policy identifiers for which the delete operation failed along with the reason of failure.
The user is not authorized to use the API
"CspErrorResponse Object"
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. | The Auto Entitlement Policy with this identifier is 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>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/auto-entitlement-policies