cURL
curl --request POST \ --url https://api.example.com/components/{component_id}/configs/{version}/set-current \ --header 'Authorization: Bearer <token>'
{ "component_id": "<string>", "component_type": "agent", "created_at": 123, "name": "<string>", "description": "<string>", "current_version": 123, "metadata": {}, "updated_at": 123 }
Set a published config version as current (for rollback).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Component ID
Version number
Successful Response
agent
team
workflow
Was this page helpful?