User Management

Revoke sudo permissions

Changed on

Remove sudo/administrator privileges from a user and downgrade their API key scope

delete/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 revoke sudo permissions from

Example request

{
  "user": "john.doe"
}

Response

Successfully revoked sudo permissions

successboolean
messagestring

Example response

{
  "success": true,
  "message": "john.doe does not have admin permission anymore"
}

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