User Permissions

Get resource permissions for a specific user

Changed on

Retrieves resource permissions for a specified user (admin access required)

post/api/user/resources_permissions

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)

Headers

X-EDH-USERstring required

SOCA username for authentication (must be admin)

X-EDH-TOKENstring required

SOCA authentication token

Request body application/x-www-form-urlencoded

userstring required

Username to check permissions for

virtual_desktopsstring

Include virtual desktop permissions ("all" or comma-separated IDs)

target_nodesstring

Include target node permissions ("all" or comma-separated IDs)

application_profilesstring

Include application profiles ("all" or comma-separated IDs)

exclude_columnsstring

Comma-separated list of columns to exclude from response

Example request

{
  "user": "target.user",
  "virtual_desktops": "all",
  "target_nodes": "1,2,3",
  "application_profiles": "all",
  "exclude_columns": "created_on,updated_on"
}

Response

User resource permissions retrieved successfully

successboolean

Example response

{
  "success": true,
  "message": {
    "user": "target.user"
  }
}

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

      api tag User Permissions added

    • info

      api tag User removed

    • 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