Query Service Accounts
Get a list of all service accounts.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/serviceAccounts
COPY
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 32
default: 25
Results per page to fetch.
Responses
200
OK
Returns
ServiceAccounts
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineServiceAccounts0 ,
InlineServiceAccounts1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"name": "string",
"softwareId": "string",
"softwareVersion": "string",
"role": {
"name": "string",
"id": "string"
},
"uri": "string",
"org": {
"name": "string",
"id": "string"
},
"status": "string",
"requireRotation": false
}
]
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/serviceAccounts?page=value&pageSize=v
Availability
Added in 37.0
Service Account Operations
GET
Query Service Accounts
GET
Get Service Account
PUT
Update Service Account
DELETE
Delete Service Account
POST
Revoke Service Account
POST
Take Ownership