On-Call API › Integrations
Delete an integration
Deletes the integration. Its key stops working at once.
An integration carries its ingest key (api_key), the credential a
monitoring tool sends alerts with — treat these responses as secrets. An
integration that belongs to a team is visible only to callers in that team;
others get 404.
Permission (API-key scope): oncall:integration:write.
Authorization
bearerAuth(oncall:integration:write)apiKeyHeader(oncall:integration:write)
Parameters
Path parameters
idstring requiredThe integration's id.
Responses
204
Deleted.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
404
No such integration in your organization or your teams (INTEGRATION_NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X DELETE 'https://evohub.io/api/v1/integrations/int_6e5d4c3b-2a19-4f8e-b7d6-c5b4a3928170' \
-H 'Authorization: Bearer <TOKEN>'