Assign permission scheme to project
Assigns a permission scheme with a project
/api/2/project/{projectKeyOrId}/permissionschemeAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
projectKeyOrIdstringrequiredKey or id of the project
expandstringUse expand to include additional information about permission schemes in the response. This parameter accepts a comma-separated list of expandable options. Expand options include: all and field.
application/jsonObject that contains an id of the scheme
idinteger<int64>Shortened details of the newly associated permission scheme.
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 the user is not logged in.
Returned if the user does not have permissions to edit project's permission schemes. In practice the user needs to be a Jira administrator.
Returned if the project or permission scheme is not found.