Create organization
Creates an organization. The caller becomes its first member and owner.
Creates an organization. The caller becomes its first member and owner.
bearerAuthorizationBearer <token>An access token, or an API key.
application/json- body
displayName?stringName shown in user interfaces.
length <= 100slug*stringGlobally unique, human-readable alias: 6 to 30 lowercase letters, digits or hyphens, starting with a letter. It never changes.
^[a-z][a-z0-9-]{4,28}[a-z0-9]$Created
application/json- response
createTime*stringWhen the organization was created.
date-timedisplayName*stringName shown in user interfaces.
name*stringResource name, organizations/{organization_id}. The ID is generated by the server and never changes.
slug*stringGlobally unique, human-readable alias. It never changes, so that links to the organization keep working.
state*stringLifecycle state. An organization whose deletion was requested is purged after a grace period unless it is undeleted.
"ACTIVE""DELETE_REQUESTED"updateTime*stringWhen the organization was last updated.
date-timecurl -X POST 'https://api.kosem.ai/v1/organizations' \
-H 'Content-Type: application/json' \
-d '{
"slug": "string"
}'{
"createTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"name": "string",
"slug": "string",
"state": "ACTIVE",
"updateTime": "2019-08-24T14:15:22Z"
}