Create role
documentedCreate a new role in the Cascade instance.
POST /api/v2/rolesAdminno implementation yet0 runsNo 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://{{$subdomain}}.executestrategy.net/api/v2/roles" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"role": {"role": {"client_id": "{{$client_id}}", "title": "{{$title}}", "org_unit_id": {{$org_unit_id}}, "role_family_id": {{$role_family_id}}, "employment_type": "{{$employment_type}}", "parent_id": {{$parent_id}}}}}'