Applications: GET /{id}/authorized_users_and_roles

Gets lists of users and roles that are permitted to view and/or edit a specific application.

Resource name

/applications/{id}/authorized_users_and_roles

Permissions required

Administrator

Request URL parameters

Parameter

Type

Description

id

Mandatory

Integer

The application's revision ID.

Returns

Parameter

Type

Description

applicationName

String

Application name.

usersView

Array of String

List of users allowed to view the application.

usersEdit

Array of String

List of users allowed to edit the application.

rolesView

Array of String

List of roles allowed to view application.

rolesEdit

Array of String

List of roles allowed to edit application

Return example

{
  "applicationName": "DNS",
  "usersView": [
    "harry-helpdesk",
    "sue"
  ],
  "rolesView": [
    "dns-applications"
  ],
  "rolesEdit": [
    "admin",
    "reviewer"
  ]
}

 

â See also: