curl --request PATCH \
--url https://api.openworklabs.com/v1/org \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"allowedEmailDomains": [
"<string>"
],
"desktopAppRestrictions": {
"disallowNonCloudModels": true,
"blockZenModel": true,
"blockMultipleWorkspaces": true
},
"allowedDesktopVersions": [
"<string>"
]
}
'{
"organization": {}
}Updates organization fields that workspace owners are allowed to change, including the display name, allowed invitation email domains, and desktop app restrictions. The slug is immutable to avoid breaking dashboard URLs.
curl --request PATCH \
--url https://api.openworklabs.com/v1/org \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"allowedEmailDomains": [
"<string>"
],
"desktopAppRestrictions": {
"disallowNonCloudModels": true,
"blockZenModel": true,
"blockMultipleWorkspaces": true
},
"allowedDesktopVersions": [
"<string>"
]
}
'{
"organization": {}
}Organization updated successfully.
Show child attributes
Was this page helpful?