Role Profile

Gets a list of role profiles

get

This endpoint is used to fetch all the role profiles in the current organization (works based on token used to authorize)

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200Success
application/json
get
/ux/common/roles/profile/
200Success

Creates a new role

post

This endpoint is used to save a new role for the current organization

Authorizations
AuthorizationstringRequired
Body
Other propertiesanyOptional
Responses
post
/ux/common/roles/profile/
201

No response body

No content

Gets a role profile with the given id

get

This endpoint is used to fetch a role in the current organization

Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Responses
chevron-right
200Success
application/json
get
/ux/common/roles/profile/{id}/
200Success

Edits the role with given id

put

This endpoint is used to edit an existing role for the current organization

Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Body

Serializes groups querysets.

role_namestring | nullableOptional
descriptionstring | nullableOptional
group_idintegerOptional
organizationstring · max: 25Required
is_pre_configurebooleanOptional
role_typeintegerOptionalDefault: 1
event_mapstringRead-onlyRequired
last_update_timestring · date-timeOptional
Responses
chevron-right
200Success
application/json
put
/ux/common/roles/profile/{id}/
200Success

Deletes the role with given id

delete

This endpoint is used to delete an existing role for the current organization

Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Responses
delete
/ux/common/roles/profile/{id}/
204

No response body

No content

Gets the module role map

get

This endpoint is used to get all module role map for the current organization

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200Success
application/json
get
/ux/common/roles/profile/config/
200Success
get

API endpoint that allows users to be viewed or edited.

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200Success
application/json
get
/ux/common/roles/profile/json/
200Success

Get the options for the events options

get

This endpoint is used to get the default options for events options

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200Success
application/json
get
/ux/common/roles/profile/options/
200Success

Last updated