Dismiss a notification for the current user
curl --request POST \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"dismissed": true
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Notifications
Dismiss a notification for the current user
Upserts user_announcement_state.dismissed = true for the
caller. The notification will no longer appear in
GET /v1/notifications results.
Open to any authenticated user; rate-limited to 50 calls per minute.
POST
/
v1
/
notifications
/
{notificationId}
/
dismiss
Dismiss a notification for the current user
curl --request POST \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/{notificationId}/dismiss"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"dismissed": true
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
BearerAuthOrgApiKeyAuth
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
Notification identifier - equal to the underlying announcement id (lazy model).
Maximum string length:
64Pattern:
^[a-zA-Z0-9_-]+$Response
Notification dismissed.
Was this page helpful?