POST
/
organizations
curl --request POST \
  --url https://cloud.local.wirtual.dev/api/v2/organizations \
  --header 'Content-Type: application/json' \
  --header 'Wirtual-Session-Token: <api-key>' \
  --data '{
  "description": "<string>",
  "display_name": "<string>",
  "icon": "<string>",
  "name": "<string>"
}'
{
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "display_name": "<string>",
  "icon": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_default": true,
  "name": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Wirtual-Session-Token
string
header
required

Body

application/json
Create organization request
name
string
required
description
string
display_name
string

DisplayName will default to the same value as Name if not provided.

icon
string

Response

201 - application/json
Created
created_at
string
required
id
string
required
is_default
boolean
required
updated_at
string
required
description
string
display_name
string
icon
string
name
string