Assign Permission Scheme
PUT {{baseUrl}}/rest/api/3/project/:projectKeyOrId/permissionscheme?expand=<string>
Assigns a permission scheme with a project. See Managing project permissions for more information about permission schemes.
Permissions required: Administer Jira global permission
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
expand | string | Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: |
allReturns all expandable information.fieldReturns information about the custom field granted the permission.groupReturns information about the group that is granted the permission.permissionsReturns all permission grants for each permission scheme.projectRoleReturns information about the project role granted the permission.userReturns information about the user who is granted the permission. |
Request Body
{"id"=>"<long>"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":10000,"self":"https://your-domain.atlassian.net/rest/api/3/permissionscheme/10000","name":"Example permission scheme","description":"description"}