Remove user from content restriction

DELETE {{baseUrl}}/api/content/:id/restriction/byOperation/:operationKey/user?key=<string>&userName=<string>&accountId=<string>

Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.

Permissions required: Permission to edit the content.

Request Params

KeyDatatypeRequiredDescription
keystringThis parameter is no longer available and will be removed from the documentation soon.
Use accountId instead.
See the deprecation notice for details.
userNamestringThis parameter is no longer available and will be removed from the documentation soon.
Use accountId instead.
See the deprecation notice for details.
accountIdstring(Required) The account ID of the user to remove from the content restriction. The accountId uniquely identifies the user
across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.

RESPONSES

status: OK

&quot;&quot;