POST
/
v0
/
project
/
{project_name}
/
contexts
/
{context_name}
/
rollback
curl --request POST \
  --url 'https://api.unify.ai/v0/project/<project_name>/contexts/<context_name>/rollback' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Rolls back a context to a specific version by commit hash.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_name
string
required
context_name
string
required

Body

commit_hash
string
required
curl --request POST \
  --url 'https://api.unify.ai/v0/project/<project_name>/contexts/<context_name>/rollback' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{}