Get Auto Entitlement Policy By Organization Id And Policy Id Using GET
Get the Auto Entitlement Policy by the identifier 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.
The identifier of the Auto Entitlement Policy
OK
{
"lastEditedBy": "string",
"displayName": "string",
"id": "string",
"organizationRoles": [
{
"displayName": "string",
"name": "string",
"expiresAt": 3609941597,
"createdBy": "string",
"lastUpdatedDate": "string",
"resource": "string",
"membershipType": "string",
"createdDate": "string",
"lastUpdatedBy": "string"
}
],
"serviceRoles": [
{
"serviceRoleNames": [
"string"
],
"serviceDefinitionId": "string",
"serviceRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "string"
}
]
}
],
"description": "string",
"domains": [
"string"
],
"customRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "string"
}
],
"lastEditedAt": "string"
}
The username (email) of the user who edited the Auto Entitlement Policy.
The display name of the group.
Unique identifier of the group.
The organization roles of the group.
The service roles of the group.
Description of the Auto Entitlement Policy.
Set of domains associated with the Auto Entitlement Policy
The custom roles of the group.
Last Updated time of the Auto Entitlement Policy.
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 -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/auto-entitlement-policies/{policyId}