GET /api/v1/{context_id}/principals

Changed on

List the Context's principals (requires the grant:manage grant). Paginated: follow page.nextCursor.

Request

Path parameters

context_idstring required

Spectron context id

Query parameters

limitinteger

Max principals to return (default 100, max 500)

cursorstring

Continuation token from the previous page's page.nextCursor

countboolean

Also return page.totalSize

Response

Changes

    • breaking

      the response's body type changed from array to object for status

    • info

      added the new optional query request parameter count

    • info

      added the new optional query request parameter cursor

    • info

      added the new optional query request parameter limit

    • info

      added the non-success response with the status

    • info

      added the non-success 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