Operations with Specific NotificationsUserProfile
This resource lets you read and update notification settings in the profile of the specific user.
Resource | /api/users/{userID}/profiles/notifications |
Returned entity | NotificationsUserProfile. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
NotificationsUserProfile attributes
Represents the notification settings in the profile of the specific user.
Related Resources
Below you can find the list of resources that let you work with this entity.
Attributes
This table describes attributes of the NotificationsUserProfile
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the NotificationsUserProfile. |
notifyOnOwnChanges | Boolean | Indicates whether the user receives notifications on their own changes. |
emailNotificationsEnabled | Boolean | Indicates whether the user enabled notifications via email. |
mentionNotificationsEnabled | Boolean | Indicates whether the user receives notifications when they is mentioned in issue text. |
duplicateClusterNotificationsEnabled | Boolean | Indicates whether the user receives notifications about issue's duplicates. |
mailboxIntegrationNotificationsEnabled | Boolean | Indicates whether the user receives notifications produced by mailbox integration. |
usePlainTextEmails | Boolean | Indicates whether the user receives emails in plain text. |
autoWatchOnComment | Boolean | Indicates whether the user is automatically subscribed to the issue or article updates when they leave a comment. |
autoWatchOnCreate | Boolean | Indicates whether the user is automatically subscribed to the issue or article updates when they create it. |
autoWatchOnVote | Boolean | Indicates whether the user is automatically subscribed to the issue updates when they vote for the issue. |
autoWatchOnUpdate | Boolean | Indicates whether the user is automatically subscribed to the issue or article updates when they update it. |
Read a Specific NotificationsUserProfile
Get notification settings of the specific user profile.
Required permissions
Requires Read Self to read own profile and Read User Full to read profile of another user.
Request syntax
{profileID} | Database ID of NotificationsUserProfile |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of NotificationsUserProfile attributes that should be returned in the response. If no field is specified, only the |
Sample
Sample request
Sample response body
Update a Specific NotificationsUserProfile
Change notification settings in the specific user profile.
Required permissions
Requires Update Self to update own profile and Update User to update profile of another user.
Request syntax
{profileID} | Database ID of NotificationsUserProfile |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of NotificationsUserProfile attributes that should be returned in the response. If no field is specified, only the |
Sample
Let's disable notifications from a mailbox integrations for the user.