POST
/
v0
/
project
/
{project_name}
/
rollback
curl --request POST \
  --url 'https://api.unify.ai/v0/project/proj/a/rollback' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "info": "Project rolled back successfully!"
}

Rolls back a project to a specific version.

Authorizations

Authorization
string
required

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

Path Parameters

project_name
string
required

Project name, may contain slashes

Body

commit_hash
string
required
curl --request POST \
  --url 'https://api.unify.ai/v0/project/proj/a/rollback' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "info": "Project rolled back successfully!"
}