Skip to content

Roll back to a deployment

POST/api/v1/deploy/deployments/{id}/rollback

Needs an API key in the Authorization header.

On this page

Parameters

FieldInTypeDescription
idrequiredpathstring
  • format: uuid
formatquerystring
text answers in plain text instead of JSON
  • one of: json, text

Example request

curl -X POST "https://polaris.example.com/api/v1/deploy/deployments/{id}/rollback" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Responses

StatusMeaning
202Accepted

Can also answer the common errors 400, 401, 403, 404, 429. See common errors