roles.create
{ "name": "exampleName", "apps": 1, "beUsers": 15, "bundles": 6, "consumption": 1, "dependencies": 12, "deployments": 3, "keys": 11, "roles": 15, "sources": 12, "subscriptions": 12, "tasks": 20, "trainings": 2 }
curl --location --request POST 'https://Example-Server.com/be/v1/roles' \ --header 'x-rockit-beauth-token: eyjhvcIhvds;huVODV...' \ --header 'x-rockit-orgname: ExampleOrg' \ --header 'x-rockit-username: adminPrincipal' \ --header 'x-rockit-api-key: {{_adminPrincipal_apiKey}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "exampleName", "apps": 1, "beUsers": 15, "bundles": 6, "consumption": 1, "dependencies": 12, "deployments": 3, "keys": 11, "roles": 15, "sources": 12, "subscriptions": 12, "tasks": 20, "trainings": 2 }'
{"status":"success","message":"role created"}