Memos

Create Space

CreateSpace creates a space and makes the authenticated caller its first administrator.

POST
/api/v1/spaces

Query Parameters

spaceId?string

Optional. The space UID to use for this space. If empty, a canonical UUID v4 will be generated. Format: ^a-zA-Z0-9?$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Space is a collaboration boundary for placed memos.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/spaces" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "name": "string",  "title": "string",  "description": "string",  "currentUserRole": "ROLE_UNSPECIFIED",  "memberCount": 0}