Remove content watcher
DELETE {{baseUrl}}/api/user/watch/content/:contentId?key=<string>&username=<string>&accountId=<string>
Removes a user as a watcher from a piece of content. Choose the user by doing one of the following:
- Specify a user via a query parameter: Use the
accountId
to identify the user. - Do not specify a user: The currently logged-in user will be used.
Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
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 accountId of the user to be removed as a watcher. The accountId uniquely identifies the user across all Atlassian products. | |
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192 . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Atlassian-Token | string | (Required) Note, you must add header when making a | |
request, as this operation has XSRF protection. |