pm_update_team
Update a team's metadata or replace its full member list. All fields are optional — only specified fields change. NOTE: memberUuids, if present, REPLACES the existing membership (not appends). Use pm_add_team_member / pm_remove_team_member for incremental changes. Requires the workspace MANAGE_TEAMS permission. API-key scope: teams:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Icon identifier or emoji | |
| name | No | Display name (max 100 chars) | |
| alias | No | Short alias / @handle (max 100 chars) | |
| color | No | Hex color, e.g. "#E91E63" | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| identifier | Yes | Team identifier (team_…) | |
| description | No | Optional description (max 10000 chars) | |
| memberUuids | No | COMPLETE replacement list of member UUIDs. Omit to leave membership unchanged. |