Update a permission scheme
Updates a permission scheme. If the permissions list is present then it will be set in the permission scheme, which basically means it will overwrite any permission grants that existed in the permission scheme. Sending an empty list will remove all permission grants from the permission scheme. To update just the name and description, do not send permissions list at all. To add or remove a single permission grant instead of updating the whole list at once use the {schemeId}/permission/ resource.
/api/2/permissionscheme/{schemeId}AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
schemeIdinteger<int64>requiredThe id of the permission scheme.
expandstringUse expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
application/jsondescriptionstringexpandstringidinteger<int64>namestringpermissionsPermissionGrantBean[]Show propertiesHide properties
PermissionGrantBeanholderPermissionHolderBeanShow propertiesHide properties
expandstringfieldFieldBeanShow propertiesHide properties
clauseNamesstring[]custombooleanidstringnamestringnavigablebooleanorderablebooleanschemaJsonTypeBeanShow propertiesHide properties
customstringcustomIdinteger<int64>itemsstringsystemstringtypestringsearchablebooleangroupGroupJsonBeanShow propertiesHide properties
namestringselfstring<uri>parameterstringprojectRoleProjectRoleBeanShow propertiesHide properties
actorsRoleActorBean[]Show propertiesHide properties
RoleActorBeanavatarUrlstring<uri>namestringdescriptionstringidinteger<int64>namestringselfstring<uri>typestringuserUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringidinteger<int64>permissionstringselfstring<uri>selfstring<uri>Returned if the scheme is updated successfully.
descriptionstringexpandstringidinteger<int64>namestringpermissionsPermissionGrantBean[]Show propertiesHide properties
PermissionGrantBeanholderPermissionHolderBeanShow propertiesHide properties
expandstringfieldFieldBeanShow propertiesHide properties
clauseNamesstring[]custombooleanidstringnamestringnavigablebooleanorderablebooleanschemaJsonTypeBeanShow propertiesHide properties
customstringcustomIdinteger<int64>itemsstringsystemstringtypestringsearchablebooleangroupGroupJsonBeanShow propertiesHide properties
namestringselfstring<uri>parameterstringprojectRoleProjectRoleBeanShow propertiesHide properties
actorsRoleActorBean[]Show propertiesHide properties
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>typestringuserUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringidinteger<int64>permissionstringselfstring<uri>selfstring<uri>Returned if user is not logged in.
Returned if user is not allowed to edit permission schemes.
Returned if the permission is not found.