Delegated Grants

List delegated grants

Changed on

Returns a paginated list of delegated grants in the specified zone. Can be filtered by user, resource, or status. Use cursor pagination via after/before. Sort: comma-separated field list; prefix with - for descending. Use expand[]=total_count to include the matching row count.

get/zones/{zoneId}/delegated-grants

Request

  • Base URL
    https://docs.keycard.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://docs.keycard.ai/zones/{zoneId}/delegated-grants
  • Auth
    • HTTP bearer
    • or OAuth 2
      Client credentials
      Token URL: /service-account-token

Path parameters

zoneIdstring required

Zone ID

Query parameters

user_idstring

Filter by user ID

resource_idstring

Filter by resource ID

active'true'
status'active' | 'expired' | 'revoked'
afterstring

Cursor for forward pagination

beforestring

Cursor for backward pagination

limitinteger

Maximum number of items to return

'total_count'
OR
string[]
sortstring

Comma-separated sort fields. Prefix with - for descending. Allowed: created_at

Response

Default Response

Changes

    • warning

      removed the optional 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 the required property //// to the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      the ////// response's property pattern ^[a-z0-9]+(?:[-_][a-z0-9]+)*$ was added for the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status