Import database schema into a new branch with optional deployment
Authentication: required
Required API Scope: Instance Workspace: Read
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>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success!
The response is of type object.
Was this page helpful?
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>'{}