DELETE /gui_app_framework/application_definitions/{application_definition_id}/user_role_id/{user_role_id}

Table 1. DELETE /gui_app_framework/application_definitions/{application_definition_id}/user_role_id/{user_role_id} resource details
MIME Type

application/json

Table 2. DELETE /gui_app_framework/application_definitions/{application_definition_id}/user_role_id/{user_role_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

application_definition_id

path

Required

Number (Integer)

text/plain

- The application definition identifier.

user_role_id

path

Required

Number (Integer)

text/plain

- The user role identifier.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. DELETE /gui_app_framework/application_definitions/{application_definition_id}/user_role_id/{user_role_id} response codes
HTTP Response Code Unique Code Description

404

33900

The application definition ID specified does not exist

409

33000

The current state of the specified application ID does not allow the requested action

422

33906

The user role ID does not exist

Response Description

An updated list of user roles for the application definition

Response Sample


{
    "user_roles": [
        42
    ]
}