Revert Version
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Format
uuidversion*Version
Query Parameters
publish?Publish
Default
falseverify_locally?Verify Locally
Default
trueResponse Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/0/revert"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "version": 0, "schema_version": 0, "snapshot": {}, "source": "string", "label": "string", "published_by": "9ac9eee7-2153-423d-b22d-04e12679154a", "published_at": "2019-08-24T14:15:22Z"}{ "detail": "string", "code": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}