resource-grants

List a page of the grants the caller can see, newest first. Naming one `resourceType` + `resourceId` lists every grant on it when the caller can read that resource.

Changed on
get/resource-grants

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/resource-grants
  • Auth: none declared. Required headers: x-organization-id

Query parameters

resourceTypestring
resourceIdstring
subjectType'user' | 'team' | 'org'
string
OR
string
OR
string
includeEnded'true' | 'false'
source'member' | 'org-default' | 'user-default'
pageinteger
pageSizeinteger

Headers

x-organization-idstring required

Active organization id (or slug). Required for org-scoped operations; the generated client enforces it at compile time.

Response

Response

pageinteger required
pageSizeinteger required
totalinteger required
totalPagesinteger required

Changes

    • info

      added the new optional query request parameter source

    • info

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