Create a new permission scheme
Create a new permission scheme. This method can create schemes with a defined permission set, or without.
POST
/api/2/permissionschemeAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
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/jsondescriptionstringexpandstringidinteger<int64>namestringpermissionsPermissionGrantBean[]Show propertiesHide properties
Array of
PermissionGrantBeanholderPermissionHolderBeanShow 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>selfstring<uri>Responses
201
Returned if the scheme is created successfully.
descriptionstringexpandstringidinteger<int64>namestringpermissionsPermissionGrantBean[]Show propertiesHide properties
Array of
PermissionGrantBeanholderPermissionHolderBeanShow 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>selfstring<uri>401
Returned if user is not logged in.
403
Returned if user is not allowed to create permission schemes.