PUT
/
v0
/
interfaces
curl --request PUT \
  --url 'https://api.unify.ai/v0/interfaces/?interface_id=None&project=None&name=None&checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "name": "my_interface",
    "project_id": "proj_abc",
    "tabs": [],
    "color": "blue",
    "is_checkpoint": false,
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}

Update an interface by ID or by project ID and name.

Authorizations

Authorization
string
required

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

Query Parameters

interface_id
string | null

The ID of the interface to update

project
string | null

The project ID the interface belongs to

name
string | null

The name of the interface to update

checkpoint
boolean

Whether this is a checkpoint update (manual save)

Body

name
string | null
active_tab_id
string | null
color
string | null
curl --request PUT \
  --url 'https://api.unify.ai/v0/interfaces/?interface_id=None&project=None&name=None&checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "name": "my_interface",
    "project_id": "proj_abc",
    "tabs": [],
    "color": "blue",
    "is_checkpoint": false,
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}