Skip to content

Archive a Service

Request

Archives a service.
Request valid only in scope of Primary or Standalone Hub and can't be used in scope of a Connected Hub.
Archived services are not returned by index endpoint unless archived parameter is set to true.

Security
ApiKeyAuth
Path
subdomainstringrequired

Unique subdomain of requested Hub.

service_idinteger, >= 1required

id of the service

Query
api_versionstring

Api version

Value:"V3-R1"
curl -i -X PUT \
  'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/services/{service_id}/archive?api_version=V3-R1' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
messagestring
Response
{ "message": "string" }