Skip to content

List all instance service accounts

GET
/api/v4/service_accounts

Lists all instance service accounts. Use the page and per_page pagination parameters to filter the results.

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20
order_by
string
default: id nullable
Allowed values: id username

Attribute to sort by

sort
string
default: desc nullable
Allowed values: asc desc

Order of sorting

OK

Media type application/json
object
id
integer format: int64
username
string
public_email
string
name
string
email
string
unconfirmed_email
string
Example
{
"id": 1,
"username": "admin",
"public_email": "john@example.com",
"name": "Administrator",
"email": "service_account@example.com",
"unconfirmed_email": "updated_service_account@example.com"
}

400 Bad request

401 Unauthorized

403 Forbidden