Delete a service
DELETE/api/v1/catalog/components/{ref}
Removes the declaration. Its resources stay and become unowned; its match proposals and the edges with it at either end go.
Requires the catalog:component:write scope.
Authorization
Parameters
Path parameters
refstring requiredThe service's ID (cmp_…) or its slug.
Responses
204
Deleted.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X DELETE 'https://evohub.io/api/v1/catalog/components/payments-api' \
-H 'Authorization: Bearer <TOKEN>'
