curl --location --request PATCH 'https://test.your-api-server.com/admin/workspaces//webhooks/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "string",
"auth_type": "NONE",
"auth_url": "string",
"token_request_config": {
"property1": "string",
"property2": "string"
},
"webhook_headers_config": {
"property1": "string",
"property2": "string"
},
"secrets": {
"property1": "string",
"property2": "string"
}
}'{
"id": "string",
"workspace_id": "string",
"url": "string",
"auth_type": "string",
"auth_url": "string",
"token_request_config": {
"property1": "string",
"property2": "string"
},
"webhook_headers_config": {
"property1": "string",
"property2": "string"
},
"created_at": "2019-08-24T14:15:22.123Z",
"secret_names": [
"string"
]
}