Acknowledge an alert about the public demo
POST
/api/platform/demo/alerts/{id}/acknowledge
const url = 'https://forge.example.com/api/platform/demo/alerts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/acknowledge';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/demo/alerts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/acknowledge \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "example" }'With a reason, which the platform audit keeps with the alert’s condition and period. Raised again in its period, the alert keeps its acknowledgement and counts on. An alert acknowledged already answers 409.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
Example generated
{ "reason": "example"}Responses
Section titled “Responses”Done. The answer has no body.
default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}