Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update or insert a scheme attribute

Updates or inserts the attribute for a permission scheme specified by permission scheme id. The attribute consists of the key and the value. The value will be converted to Boolean using Boolean#valueOf.

PUT/api/2/permissionscheme/{permissionSchemeId}/attribute/{key}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
permissionSchemeIdinteger<int64>required

The id of the permission scheme.

keystringrequired

The key of the permission scheme attribute.

Request body
text/plain
string
Responses
204

Returned if the attribute is updated successfully.

401

Returned if the user is not authenticated.

403

Returned if the user is not an admin.

500

Returned if there was an error related to attribute upsert.

Try it
Server
Authorization
Parameters
Bodytext/plain
Request
curl -X PUT 'http://jira.example.com/rest/api/2/permissionscheme/0/attribute/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: text/plain' \
  -d 'string'
Response
Returned if the attribute is updated successfully.

Was this page helpful?