Archive a tier
POST/api/v1/catalog/tiers/{id}/archive
Takes the tier out of use: it can no longer be chosen, and the services already in it keep it. Tiers are archived, never deleted.
Requires the catalog:component:write scope.
Authorization
Parameters
Path parameters
idstring requiredThe tier's ID.
Responses
204
Archived.
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
No tier in use has this ID; an archived tier answers this too (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 POST 'https://evohub.io/api/v1/catalog/tiers/tir_1f3a5c7e9b2d4f6a8c0e1b3d5f7a9c2e/archive' \
-H 'Authorization: Bearer <TOKEN>'
