User Management

Grant sudo permissions

Changed on

Grant sudo/administrator privileges to a user and update their API key scope

post/api/ldap/sudo

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Request body application/x-www-form-urlencoded

userstring required

Username to grant sudo permissions to

Example request

{
  "user": "john.doe"
}

Response

Successfully granted sudo permissions

successboolean
messagestring

Example response

{
  "success": true,
  "message": "john.doe has now SUDO permissions"
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API