Check if the user has specific permissions within a scope
POST/roles/check-permissions
Checks if the logged-in user has a specific set of permissions within the given scope
Request
- application/json
Body
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
permissionIds string[]nullable
Responses
- 200
- 400
- 401
- 500
Success
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
boolean
[
true
]
- Schema
- Example (from schema)
Schema
Array [
]
boolean
[
true
]
- Schema
- Example (from schema)
Schema
Array [
]
boolean
[
true
]
Bad Request
Unauthorized
Server Error
Loading...