Update application role
Updates the ApplicationRole with the passed data. 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.
/api/2/applicationrole/{key}AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
keystringrequiredthe key of the role to update.
If-MatchstringversionHashstringthe hash of the version to update. Optional Param
application/jsonthe data to update the role with.
defaultGroupsstring[]definedbooleangroupsstring[]hasUnlimitedSeatsbooleankeystringnamestringnumberOfSeatsinteger<int32>platformbooleanremainingSeatsinteger<int32>selectedByDefaultbooleanuserCountinteger<int32>userCountDescriptionstringReturns the updated ApplicationRole if the update was successful.
defaultGroupsstring[]definedbooleangroupsstring[]hasUnlimitedSeatsbooleankeystringnamestringnumberOfSeatsinteger<int32>platformbooleanremainingSeatsinteger<int32>selectedByDefaultbooleanuserCountinteger<int32>userCountDescriptionstringReturned if the current user does not have permission to edit roles.
Returned if the current user is not an administrator.
Returned if the role does not exist.
Returned if the versionHash is not null and contains a different version to the server.