POST
/
v1
/
organizations
/
{id}
curl --request POST \
  --url https://api.edgee.app/v1/organizations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "slug": "<string>",
  "current_billing_plan": "<string>"
}'
{
  "object": "organization",
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "avatar_url": "<string>",
  "type": "perso",
  "current_billing_plan": "<string>",
  "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

Path Parameters

id
string
required

Body

application/json
name
string
required

The name of the organization.

slug
string
required

The slug of the organization.

current_billing_plan
string
required

The current billing plan of the organization.

Response

200
application/json
The updated 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.

current_billing_plan
string
required

The current billing plan of the organization.

created_at
string
required

Time at which the object was created.

updated_at
string
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