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"
}
Create a child workspace.
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"
}
Default Response
The response is of type object
.