cURL
curl --request POST \ --url https://api.example.com/v1/rbac/bulk \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ { "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "user", "rec_type": "<string>", "permission": "<string>", "rec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ] '
{ "code": "common.invalid_input", "message": "Invalid input data provided" }
Create multiple RBAC permissions in a single request
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user
role
Permissions created successfully