POST
/
v1
/
organizations
Create a new Organization
curl --request POST \
  --url https://api.edgee.app/v1/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "slug": "<string>"
}'
{
  "object": "organization",
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "avatar_url": "<string>",
  "type": "perso",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Body

application/json
name
string
required

The name of the organization.

slug
string
required

The slug of the organization.

Response

The created Organization

object
string
required

String representing the object’s type. Objects of the same type share the same value.

Example:

"organization"

id
string
required

The unique identifier for the organization.

name
string
required

The name of the organization.

slug
string
required

The slug of the organization.

created_at
string<date-time>
required

Time at which the object was created.

updated_at
string<date-time>
required

Time at which the object was last updated.

avatar_url
string

Avatar URL of the organization

type
enum<string>

The type of the organization.

Available options:
perso,
pro