subAccounts
List sub-accounts
Changed onLists sub-accounts owned by the caller, newest first. q performs a case-insensitive substring search on name only; percent and underscore characters are treated literally.
get/v1/sub_accounts
Request
- Base URLhttps://api.middesk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
qstring
Case-insensitive name substring
enabled'true' | 'false'
Filter by active or inactive sub-accounts
pageinteger
Page number, from 1 through 65,535
per_pageinteger
Items per page, from 1 through 100
sort_by'created_at'
Accepted sort field; results are currently returned newest first
sort_order'asc' | 'desc'
Accepted sort direction; results are currently returned newest first
Response
sub-accounts list
Changes
- info
the response property
became required for the status
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
bearer_authwas added to the API
- warning