Add user to content restriction
PUT {{baseUrl}}/api/content/:id/restriction/byOperation/:operationKey/user?key=<string>&userName=<string>&accountId=<string>
Adds a user to a content restriction. That is, grant read or update permission to the user for a piece of content.
Permissions required: Permission to edit the content.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
key | string | This parameter is no longer available and will be removed from the documentation soon. | |
Use accountId instead. | |||
See the deprecation notice for details. | |||
userName | string | This parameter is no longer available and will be removed from the documentation soon. | |
Use accountId instead. | |||
See the deprecation notice for details. | |||
accountId | string | (Required) The account ID of the user to add to the content restriction. The accountId uniquely identifies the user across | |
all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192 . |
RESPONSES
status: OK
""