Rollback to a previous deploy
POST {{baseUrl}}/services/:serviceId/rollback
Trigger a rollback to a previous deploy
Request Body
{"deployId"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","commit":{"id":"\u003cstring\u003e","message":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e"},"image":{"ref":"\u003cstring\u003e","sha":"\u003cstring\u003e","registryCredential":"\u003cstring\u003e"},"status":"live","trigger":"api","finishedAt":"\u003cdateTime\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e"}