> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.dealmachine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reassign Assignment

> Update who owns a Driving assignment

Reassign a Driving assignment. Send `null` for `assigned_to_user_id` to unassign it.

<ParamField path="id" type="string" required>
  Assignment ID
</ParamField>

<ParamField body="assigned_to_user_id" type="number | null" required>
  New assigned user ID, or `null` to unassign
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.v2.dealmachine.com/v1/driving/assignments/100 \
    -X PATCH \
    -H "Authorization: Bearer dm_sk_live_xxx" \
    -H "Content-Type: application/json" \
    -d '{ "assigned_to_user_id": 456 }'
  ```
</RequestExample>
