Get Auto Entitlement Policies By Organization Id Using GET
List the Auto Entitlement Policies for an Organization
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Member | ✔️ | ❌ |
Organization Admin | ✔️ | ❌ |
Organization Owner | ✔️ | ❌ |
Unique identifier (GUID) of the organization.
Specifies the index that the set of results will begin with
Specifies the maximum results per page for every call.
Successfully fetched list of Auto Entitlement Policies for the Organization
{
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"lastEditedBy": "string",
"displayName": "string",
"id": "string",
"domains": [
"string"
],
"lastEditedAt": "string",
"description": "string"
}
],
"totalResults": 2000,
"nextLink": "/csp/serviceName/ResourceName?pageStart=60&pageLimit=15"
}
Relative path to previous page if exists. Not returned for POST requests.
Partial list of returned results.
Total number of results if available.
Relative path to next page if exists. Not returned for POST requests.
Bad request for listing the Auto Entitlement Policies for the Organization
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
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
The requested resource could not be 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 -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/auto-entitlement-policies