POST
/
api
/
v1
/
organizations
Create organization
curl --request POST \
  --url http://127.0.0.1:8080/api/v1/organizations \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>"
}
'
{
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>",
    "status": "<string>",
    "plan_code": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Body

application/json
name
string
required
slug
string | null

Response

200 - application/json

Created organization

organization
object
required