Skip to main content
POST
/
organizations
Register an organization
curl --request POST \
  --url https://console.gmicloud.ai/api/v1/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My Organization"
}'
{
"id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"
}

Authorizations

Authorization
string
header
required

An access token used to authenticate a user and grant access to restricted APIs. It is issued by session APIs. For status codes related to this header, refer to the Common Headers Documentation.

Body

application/json

The organization registration request body.

name
string
required

The organization's name.

Example:

"My Organization"

Response

Successfully registered the organization.

id
string<uuid>
required

The organization's ID.

Example:

"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"