Sign in

Create role

documented

Create a new role.

POST /api/v2/rolesManagement APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{AUTH0_DOMAIN}}/api/v2/roles" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "permissions": [{"permission_name": "{{$permission_name}}", "resource_server_identifier": "{{$api_identifier}}"}]}'