Returns all application roles in the system.
This request has no parameters.
Returns all ApplicationRoles in the system
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/applicationrole' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Updates the ApplicationRoles with the passed data if the version hash is the same as the server. Only the groups and default groups setting of the role may be updated. Requests to change the key or the name of the role will be silently ignored. It is acceptable to pass only the roles that are updated as roles that are present in the server but not in data to update with, will not be deleted.
string
the data to update the roles with.
array<string>
boolean
array<string>
boolean
string
string
integer
boolean
integer
boolean
Returns the updated ApplicationRoles if the update was successful.
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/applicationrole' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns the ApplicationRole with passed key if it exists.
string
Required