Create a permission grant in a scheme
Creates a permission grant in a permission scheme.
POST
/api/2/permissionscheme/{schemeId}/permissionAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
schemeIdinteger<int64>requiredThe id of the permission scheme.
Query parameters
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.
Request body
application/jsonholderPermissionHolderBeanShow propertiesHide properties
expandstringfieldFieldBeanShow propertiesHide properties
clauseNamesstring[]custombooleanidstringnamestringnavigablebooleanorderablebooleanschemaJsonTypeBeanShow propertiesHide properties
customstringcustomIdinteger<int64>itemsstringsystemstringtypestringsearchablebooleangroupGroupJsonBeanShow propertiesHide properties
namestringselfstring<uri>parameterstringprojectRoleProjectRoleBeanShow propertiesHide properties
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeanavatarUrlstring<uri>namestringdescriptionstringidinteger<int64>namestringselfstring<uri>typestringuserUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringidinteger<int64>permissionstringselfstring<uri>Responses
201
Returned if the scheme permission is created successfully.
holderPermissionHolderBeanShow propertiesHide properties
expandstringfieldFieldBeanShow propertiesHide properties
clauseNamesstring[]custombooleanidstringnamestringnavigablebooleanorderablebooleanschemaJsonTypeBeanShow propertiesHide properties
customstringcustomIdinteger<int64>itemsstringsystemstringtypestringsearchablebooleangroupGroupJsonBeanShow propertiesHide properties
namestringselfstring<uri>parameterstringprojectRoleProjectRoleBeanShow propertiesHide properties
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>typestringuserUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringidinteger<int64>permissionstringselfstring<uri>401
Returned if user is not logged in.
403
Returned if user is not allowed to edit permission schemes.