Chuyển đến nội dung chính
POST
Create a notification

Nội dung

application/json
recipients
string[]
bắt buộc

List of user IDs to receive the notification

scope
enum<string>
bắt buộc

Type of the notification

Tùy chọn có sẵn:
SYSTEM,
USER,
GROUP
Ví dụ:

"USER"

type
enum<string>
bắt buộc

Type of the notification

Tùy chọn có sẵn:
WORKSPACE_CREATED,
VULNERABILITY_ANALYSIS_COMPLETED,
ASSET_NEW_DETECT,
NEW_VULNERABILITY_FOUND
metadata
object

Metadata for the notification content (variables for translation)

Ví dụ:

Phản hồi

200 - application/json

The response is of type object.