PUT
/
api-l
/
admin
/
workspaces
/
child
cURL
curl --request PUT \
  --url http://localhost:3001/api-l/admin/workspaces/child \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "workspaceId": "<string>",
  "externalId": "<string>",
  "domain": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "externalId": "<string>",
  "type": "Root",
  "writeKey": "<string>",
  "domain": "<string>",
  "status": "Active"
}

Body

application/json
name
string
required
workspaceId
string
required

The id of the parent workspace.

externalId
string
required
domain
string

Response

Default Response

id
string
required
name
string
required
type
required
Available options:
Root
writeKey
string
required
status
required
Available options:
Active
externalId
string
domain
string