cURL
curl --request PUT \ --url https://sandbox.killb.app/api/v2/backoffice/permissions/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "user:create", "resource": "user", "action": "create", "description": "Permission to create users", "active": true } '
{ "id": "<string>", "name": "<string>", "resource": "<string>", "action": "<string>", "description": "<string>", "active": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
The access token received from the authorization server in the OAuth 2.0 flow.
"user:create"
"user"
"create"
"Permission to create users"
true