Portabase DashboardAPIOrganizations
Create an organization
POST
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
application/json- body
name*stringLength
1 <= lengthslug?stringLength
1 <= lengthOrganization created
application/json- response
data*Example Request
curl -X POST 'https://portabase.example.com/api/v1/organizations' \ -H 'Content-Type: application/json' \ -d '{ "name": "Acme Inc"}'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "logo": "string", "metadata": "string", "updatedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" }}