Skip to content

Assign a sudo Entitlement to a Group

Request

Admin roles:
  • access_admin

Assigns a sudo Entitlement to a Group in a Project

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

project_namestringrequired

The Project name

group_namestringrequired

The ASA Group name

Bodyapplication/jsonrequired
orderstring, [ 0 .. 100 ]required

Defines the importance of the Entitlement within the Group. Lower values are listed earlier.

Default:50
sudo_idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...required

The UUID of the Entitlement

curl -i -X POST \
  'https://app.scaleft.com/v1/teams/{team_name}/projects/{project_name}/groups/{group_name}/entitlements/sudo' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "order": 50,
    "sudo_id": "5db14e13-3bee-4099-a105-c6e8aeeb7613"
  }'

Responses

No Content