# Update notifications account access

This endpoint grants or removes access to a given topic for a given foreign account.

Method Path Operation*
PATCH /notifications/webhooks/access/accounts/{account} update_notifications_account_access

*

In order for a user to perform the "update_notifications_account_access" operation, the "update_notifications_account_access" permission must be included in the list of allowed actions in the statement of the user's role.

# Request

Parameter Type In Description
publish
required*
list of strings body List of topics to which the given account should have access.

# Response

Attribute Type Description
topics list of strings List of subscription topics to which the given account has access.

# Status codes

Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.

Was this article helpful?