Skip to main content
PUT
Update current workspace

Authorizations

klef.session
string
cookie
required

Cookie-based session. Obtain by completing the /auth/login/{provider} OAuth flow; the /auth/callback response sets the klef.session cookie that subsequent requests send automatically.

Body

application/json
name
string
required
Minimum string length: 1
avatarKey
null | string
required
timeZoneId
string
required
Minimum string length: 1
auditRetentionDays
null | integer<int32>
required
Required range: 0 <= x <= 3650
autoApproveOnSchedule
boolean
required
firstSignInRetentionDays
integer<int32>
required
Required range: 1 <= x <= 90
passwordRules
object
required
applySourceEvents
boolean
required
lastDayEndsAt
string<time>

Time of day a termination takes effect on a worker's last day, in their time zone, else the workspace's. Omitted, it stays as it is.

Response

OK

The envelope for a single-resource response: result on success, otherwise null with one or more errors.

result
null | object
required
errors
object[]
required