Skip to main content
POST
/
workspace
/
{workspace_id}
/
import-schema
Import database schema into a new branch with optional deployment
curl --request POST \
  --url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/import-schema \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'newbranch=<string>' \
  --form setlive=true \
  --form 'password=<string>'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
integer<int64>
required

Body

multipart/form-data
file
file
required
newbranch
string
required
setlive
boolean
password
string

Response

Success!

The response is of type object.