POST
/
organizations
Register an organization
curl --request POST \
  --url https://console.gmicloud.com/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.

The body is of type object.

Response

Successfully registered the organization.

The response is of type object.