List zones
Changed onReturns a list of zones for the authenticated organization. Cursor pagination via after/before and limit, plus expand[]=total_count, name substring search, and sort, are supported on every request. filter[permission][in] narrows the list to zones where the caller holds at least one of the given permissions.
Request
- Base URLhttps://docs.keycard.ai (the document declares no server; this is the origin it was published from)
- URLhttps://docs.keycard.ai/zones
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: /service-account-token
Query parameters
Cursor for forward pagination
Cursor for backward pagination
Maximum number of items to return
Only return zones where the caller is allowed ANY of these permissions (<resource_type>:<action>, e.g. applications:list). Repeatable (one permission per occurrence); values are unioned, max 20 (a stricter cap than the authorization service's 50). The accessible zone set is resolved by the authorization service and composes with cursor pagination, search, sort and expand[]=total_count. Malformed values are a 400.
Response
Default Response
Example response
{
"items": [
{
"permissions": {
"zones": {
"read": true,
"update": true,
"delete": false,
"create": false
},
"applications": {
"read": true,
"list": true,
"create": false
}
}
}
]
}Changes
- warning
removed the optional property
//from the response with the status - info
added the new optional
queryrequest parameterfilter[permission][in]
- warning
- breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status - info
response property
page_infodeprecated - info
added the required property
//to the response with the status
- breaking