Update a sub-account
cooper_update_workspaceUse this when a parent should rename a sub-account or change how many live inboxes it may hold. Requires auth. Inputs: workspace_id (required), name (optional; 1–64 characters), inbox_quota (optional integer, at least 1). Returns the workspace {id, name, inbox_quota, inboxes_used, account_id, api_key_prefix, created_at}. An inbox_quota below the current live inboxes returns 409 quota_below_usage and changes nothing. Another parent's workspace returns 404 workspace_not_found. A sub-account key returns 403 permission_denied. An inbox-scoped key returns 403 permission_denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name, 1–64 characters. Omit it to leave the name unchanged. | |
| inbox_quota | No | New maximum live inboxes. A value below current live inboxes is 409 quota_below_usage. | |
| workspace_id | Yes | Workspace id (ws_…) created by this parent account |