Pular para o conteúdo

/Notifications/destinations (POST)

Testar na referência interativa

POST
/Notifications/destinations
curl --request POST \
--url https://api.chatfood.app/Notifications/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data '{ "name": "example", "kind": 1, "endpoint": "example", "isActive": true, "recipientUserIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'
object
name
required
string
>= 1 characters <= 120 characters
kind
integer format: int32
Allowed values: 1 2 3
endpoint
string
nullable
isActive
boolean
recipientUserIds
Array<string>
nullable

OK