Organizations
Update organization
Changed onUpdates organization fields. Requires the Edit organization settings permission. The slug is immutable to avoid breaking dashboard URLs. Only OpenWork Desktop versions with IT-managed updates support enforce desktopUpdateMode; older versions keep updating themselves.
patch/v1/org
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
object required
name, string
allowedEmailDomains, string[] nullable
desktopUpdateMode, 'in_app' | 'managed'
allowedDesktopVersions, string[] nullable
requireSso, boolean
restrictDomainToSso, boolean
sessionLengthHours, 12 | 24 | 72 | 168
maxSessionLengthDays, 1 | 7 | 14 | 30 | 60 | 90
adminReauthMinutes, 15 | 60 | 240 | 480 | 1440 | 0
brandAppName, string nullable
brandLogoUrl, string uri nullable
brandIconUrl, string uri nullable
brandAccentColor, string nullable
Response
Organization updated successfully.
Organization Response required
organization, object nullable required
Changes
- info
added the new optional request property
desktopUpdateMode
- info
- warning
removed the request property
ssoSessionMaxAgeHours - info
added the new optional request property
adminReauthMinutes
2 more changes in this revision
- warning