Advanced Server Access
//
Retrieve a sudo Entitleme...
- Production serverhttps://app.scaleft.com/v1/teams/{team_name}/entitlements/sudo/{sudo_id}
curl -i -X GET \
'https://app.scaleft.com/v1/teams/{team_name}/entitlements/sudo/{sudo_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
A list of environment variables to include when running Entitlement commands. See the sudo documentation.
The UUID of the Entitlement
Whether to require a password when sudo is run. This should generally not be used as Users don't require a password.
opt_run_asstring or null, (regex), [ 1 .. 64 ] characters^([%]{0,1})((([#])(\d+))|([\w\-_.]+)|((?i)[A-...
A non-root user account used to run the command
A list of environment variables to ignore when running Entitlement commands. See the sudo documentation.
Response
{ "add_env": [], "commands": null, "created_at": "2018-04-07T00:00:00Z", "description": "desc", "id": "226a1963-a1c8-4316-bb4d-da48f2e7652a", "name": "name", "opt_no_exec": false, "opt_no_passwd": true, "opt_run_as": "", "opt_set_env": false, "structured_commands": [ { … }, { … } ], "sub_env": [], "updated_at": "2018-04-07T00:00:00Z" }