Reject a proposal
POST/api/v1/catalog/matches/{id}/reject
Refuses the proposal for good: the same pair is never proposed again.
Requires the catalog:resource:write scope.
Authorization
Parameters
Path parameters
idstring requiredThe proposal's ID.
Responses
200
The proposal, decided.
dataMatchShow Match properties
idstringresource_idstring | nullapplication_idstring | nullcomponent_idstring | nullThe service proposed, when it exists.proposed_slugstring | nullA slug nobody declared yet; accepting creates that service.reasonstringWhich rule proposed it.confidencenumberstatusstringdecided_bystring | nulldecided_atstring (date-time) | nullcreated_atstring (date-time)resourceobject | nullenvironment_idstringproviderstringkindstringnamestringnamespacestringstatusstring
applicationobject | nullenvironment_idstringnamespacestringnamestringkey_sourcestringowner_hintstring | null
componentobject | nullslugstringdisplay_namestring
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
409
The proposal was already accepted or rejected (MATCH_DECIDED).
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 POST 'https://evohub.io/api/v1/catalog/matches/mch_3e5a7c9b1d2f4a6c8e0b2d4f6a8c1e3b/reject' \
-H 'Authorization: Bearer <TOKEN>'
