resource_type component when constructing resource IDs, or to understand what types of resources you can check permissions for.
This endpoint is distinct from
GET /unified/iam/resource_types in the IAM section. That endpoint returns types for IAM resource-scoped user queries; this one returns types for permission checks. The valid values may overlap but serve different purposes.Authentication
RequiresAuthorization: Basic {base64_encoded_api_key} and x-account-id: {account_id}. See authentication.
Response
Returns an object with adata: string[] field containing resource type identifiers. Pass the values in data as the resource_type component in a composite resource ID, or use them to understand which types can be checked.
Common values: file, folder, drive, channel, workspace, message, page.
Example
- cURL
- TypeScript
- Python
Example Response
Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized — invalid or missing API key |
| 422 | Provider does not support this endpoint |