# Set contact field value

**PUT** `/contacts/{contactId}/custom-fields/{customFieldId}`

Sets or clears one custom field value on a contact. Send an empty string to clear
the value while keeping the field definition available for future use.

Authentication: bearerAuth
Required scopes: `contact:update`
Allowed roles: `owner`, `admin`, `agent`
Authorization: Set a custom field value on a contact in scope.

## Parameters

- `contactId` (path string, required)
- `customFieldId` (path string, required)

## Request body

- `application/json`: `SetContactCustomFieldValueRequest` required.

## Responses

- `204`: Contact field value set
- `default`: Error
