Skip to content
Hexel StudioDocs

Restore the channel's previous targets

POST/harness/agents/{name}/channels/{channel}/rollback

Headers

Bearer <token>. A Hexel Studio access token for your organization.

The workspace the request acts in (ws_...). It never grants access by itself.

The environment the request acts in (env_...). It never grants access by itself.

Returns

200The agent with the channel restored.Agent

channelsmap[array of Target]
created_atstringdate-time
idstring
latest_versionintegerint32
namestring
registry_agent_idoptional string

Errors

  • default