User Management

Check user sudo permissions

Changed on

Verify if a specific user has sudo/administrator privileges in the LDAP directory

get/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)

Query parameters

userstring required
Example:john.doe

Username to check sudo permissions for

Response

Successfully checked sudo permissions

successboolean
messagestring

Example response

{
  "success": true,
  "message": "john.doe has 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