Update organization
cURL
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>" \
] \
} \
'
Response Codes
- 200: Organization updated successfully.
- 400: Bad request.
- 401: Unauthorized.
- 403: Forbidden.
- 404: Not found.
{
"organization": {}
}
Body
name
Required string length:2 - 120allowedEmailDomains
string[] | null
Maximum array length:100
Required string length:1 - 255desktopAppRestrictions
object- Show child attributes
allowedDesktopVersions
string[] | null
Maximum array length:200
Required string length:1 - 32
Response
- 200
application/json
Organization updated successfully.
{
"organization": {}
}