Get Organization Clients By Organization Id Using GET
Get OAuth clients that were granted with roles in the organization. Default start page is 1, default limit is 200.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Developer | ✔️ | ✔️ |
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.
OK
{
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"isHidden": false,
"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"
}
]
}
],
"sourceOrg": {
"displayName": "string",
"orgId": "string",
"shortId": "string"
},
"customRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "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.
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.
"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}/clients