Update an existing contact in the workspace.
| Field | Type | Required | Notes |
|---|---|---|---|
name | string (max 50) | Yes | Contact’s display name |
email | string (email) | No | Contact email |
gender | enum(male,female,other) | No | Gender of contact |
status | boolean | No | Contact active status |
avatar | file (image ≤2MB) | No | Upload new avatar (form-data only) |
contact_groups | array of integers | No | Assign contact groups (form-data only, workspace scoped) |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the workspace.
The ID of the contact to update
50"John Doe"
male, female, other "male"
true