Create workspace
Workspaces
Create workspace
Step 2 — workspace creation. The signing wallet becomes OWNER + first member. Returns the new workspace plus the SpiceDB ZedToken (echo as X-Lx-Consistency-Token on subsequent reads).
POST
Create workspace
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
URL slug. lowercase alphanumeric + hyphen, 3–40 chars.
Example:
"acme"
Example:
"Acme Visuals"
Example:
"0xAbC0000000000000000000000000000000000001"
Signature over the challenge message from POST /challenge.
Example:
"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
Example:
"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c"
Available options:
CONSUMER, SUPPLIER Example:
["CONSUMER"]