Skip to content
Navigation

List resources the current user can access for a permission

Discovers the resource external ids the authenticated caller holds a given permission on. Authorization: any authenticated organization member — scoped to the caller’s membership. Query: permission and resourceType (required); parentResourceType + parentResourceExternalId (optional) scope the search to the immediate children of that parent. Omit the parent fields to search from the organization root. Returns { permission, resourceType, externalIds }. With no membership claim, returns an empty externalIds.

GET
https://api.cloudraker.com/authorization/me/resources
Try it
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Query parameters

  • permission
    string
    required
    minLength: 1
  • resourceType
    string
    required
    minLength: 1
  • parentResourceType
    optional
    string
    minLength: 1
  • parentResourceExternalId
    optional
    string
    minLength: 1

Returns

200

The external ids the caller may access under the permission.

JSON
  • permission
    string
    required
  • resourceType
    string
    required
  • externalIds
    array of
    string
    required

    External ids the caller holds permission on.

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

Type to search…

↑↓ navigate↵ selectEsc close