Portabase DashboardAPIDatabases
Attach the database to a project, or detach it (projectId: null)
PATCH
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
id*stringFormat
uuidapplication/json- body
projectId*|Target project id to attach to, or null to detach
Format
uuidUpdated database
application/json- response
data?unknownExample Request
curl -X PATCH 'https://portabase.example.com/api/v1/databases/123e4567-e89b-12d3-a456-426614174000' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"}'Example Response
{ "data": null}