Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
agent
/
rollback
Roll back agent
curl --request POST \
  --url https://api.pathors.com/v1/projects/{projectId}/agent/rollback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "targetVersion": 123
}
'
{
  "data": {
    "version": 123
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

Body

application/json
targetVersion
integer
required
Required range: x <= 9007199254740991

Response

OK

data
object
required