Skip to content

Save user permissions (admin only)​

PUT
/api/users/{id}/permissions

Authorizations​

ApiKeyHeader
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
[
  
{
  
  
"entity_type": "string",
  
  
"scope": "string",
  
  
"can_create": true,
  
  
"can_read": true,
  
  
"can_write": true
  
}
]

Responses​

Permissions saved

application/json
JSON
{
  
"message": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI