Liftbay
API referenceOrganizations

Create an organization

POST
/v1/orgs

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 64
slug*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length2 <= length <= 40

Response Body

Created

application/json
  1. response
id*string
slug*string
name*string
curl -X POST "https://example.com/v1/orgs" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "slug": "string"  }'
{  "id": "string",  "slug": "string",  "name": "string"}