Saltar al contenido principal
POST
Create a notification

Cuerpo

application/json
recipients
string[]
requerido

List of user IDs to receive the notification

scope
enum<string>
requerido

Type of the notification

Opciones disponibles:
SYSTEM,
USER,
GROUP
Ejemplo:

"USER"

type
enum<string>
requerido

Type of the notification

Opciones disponibles:
WORKSPACE_CREATED,
VULNERABILITY_ANALYSIS_COMPLETED,
ASSET_NEW_DETECT,
NEW_VULNERABILITY_FOUND
metadata
object

Metadata for the notification content (variables for translation)

Ejemplo:

Respuesta

200 - application/json

The response is of type object.