Skip to main content
POST
Restore an agent configuration version

Authorizations

api_access_token
string
header
required

This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.

Path Parameters

account_id
integer
required

The numeric ID of the account.

Body

application/json
version
string<uuid>
required

Public UUID of the published version to restore as stable.

request_id
string<uuid>
required

Client-generated UUID used to make this rollback command replay-safe.

Response

Success

stable
object | null
required

Current stable version, or null when none is assigned.

candidate
object | null
required

Current candidate version, or null when none is assigned.

pinned
object | null
required

Current pinned version, or null when none is assigned.

rollout_basis_points
integer
required

Percentage of traffic assigned to the candidate, in basis points; zero when no rollout is active.

Required range: x >= 0
updated_at
string<date-time> | null
required

Time the route was last updated; null when no route exists.

last_change
object | null
required

Latest account configuration activity, which may be a publish that did not change route pointers; null when no activity is recorded.