{
"data": {
"id": "FID001",
"type": "WebhookSubscription",
"attributes": {
"basicAuth": {
"username": "string",
"password": "string"
},
"active": true
},
"relationships": {}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/webhook-subscriptions/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "WebhookSubscription",
"attributes": {
"basicAuth": {
"username": "string",
"password": "string"
},
"active": true
},
"relationships": {}
}
}'
{
"data": {
"id": "FID001",
"type": "WebhookSubscription",
"attributes": {
"eventName": "assignment.complete",
"targetUrl": "string",
"basicAuth": {
"username": "string",
"password": "string"
},
"active": true
},
"relationships": {}
}
}