Skip to main content
PUT
/
contact-details
/
{id}
Updates an existing contact detail with the provided information.
curl --request PUT \
  --url https://api.example.com/contact-details/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "contactNumber": "<string>",
  "contactEmail": "<string>",
  "contactBetweenStart": "<string>",
  "contactBetweenEnd": "<string>",
  "priority": 123,
  "isActive": true
}
'

Path Parameters

id
integer<int32>
required

The unique identifier of the contact detail to update.

Body

The updated contact detail data.

name
string | null
contactNumber
string | null
contactEmail
string | null
contactBetweenStart
string<date-span>
contactBetweenEnd
string<date-span>
priority
integer<int32>
isActive
boolean

Response

OK