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

get/api/v1/{context_id}/principals

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

Changed in 1 of the 5 revisions of this API.17

  • 9f159871306717See the full diff
    • the response's body type/format changed from array/ to object/ for status 200

      response-body-type-changed

    • added the new optional query request parameter count

      new-optional-request-parameter

    • added the new optional query request parameter cursor

      new-optional-request-parameter

    • added the new optional query request parameter limit

      new-optional-request-parameter

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property page to the response with the 200 status

      response-required-property-added

    • added the required property principals to the response with the 200 status

      response-required-property-added