cURL
curl -X DELETE \
-H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/projects/{projectId}/slack/connections/{id}"{
"deleted": true
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Slack Connections
Delete a Slack connection
Soft-deletes the slack_teams row. Alert channels referencing this connection remain in place; the delivery subscriber detects the soft-deleted install at delivery time and skips that channel (logged, not posted, no chat-message row enqueued). The alert’s overall delivery audit row still commits as SENT for a zero-fanout delivery rather than leaving the match permanently ‘undelivered.’
DELETE
/
v1
/
projects
/
{projectId}
/
slack
/
connections
/
{id}
cURL
curl -X DELETE \
-H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/projects/{projectId}/slack/connections/{id}"{
"deleted": true
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Was this page helpful?