POST
/
workspace
/
{workspaceId}
curl --request POST \
  --url https://api.hyra.io/workspace/{workspaceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "theme": "<string>",
  "week_starts_on": "monday"
}'

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Workspace ID

Body

application/json
name
string
required

Workspace name

theme
string
required

Workspace theme color

week_starts_on
enum<string>
required

Workspace week starts on

Available options:
monday,
sunday