curl --request PATCH \
--url https://api.joinslash.com/webhook/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"status": "archived",
"reason": "<string>"
}'
{
"id": "<string>",
"createdAt": "<string>",
"archivedAt": "<string>",
"url": "<string>",
"name": "<string>"
}
Update a webhook endpoint
curl --request PATCH \
--url https://api.joinslash.com/webhook/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"status": "archived",
"reason": "<string>"
}'
{
"id": "<string>",
"createdAt": "<string>",
"archivedAt": "<string>",
"url": "<string>",
"name": "<string>"
}
Authentication from public API requests
OK
The response is of type object
.