cURL
curl --request POST \ --url https://api.example.com/supervisor/core/roles \ --header 'Content-Type: application/json' \ --data ' { "role_name": "<string>", "permissions_json": {} } '
{ "role_id": 123, "role_name": "<string>", "permissions_json": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Successful Response