Vai al contenuto principale
POST
Create a notification

Corpo

application/json
recipients
string[]
obbligatorio

List of user IDs to receive the notification

scope
enum<string>
obbligatorio

Type of the notification

Opzioni disponibili:
SYSTEM,
USER,
GROUP
Esempio:

"USER"

type
enum<string>
obbligatorio

Type of the notification

Opzioni disponibili:
WORKSPACE_CREATED,
VULNERABILITY_ANALYSIS_COMPLETED,
ASSET_NEW_DETECT,
NEW_VULNERABILITY_FOUND
metadata
object

Metadata for the notification content (variables for translation)

Esempio:

Risposta

200 - application/json

The response is of type object.