Update an existing participant's data
Modifies the detailed information of a registered participant based on their unique ID.
Body
Required
JSON object containing the participant data to be updated. Only provided fields will be changed.
-
Participant's new full name. Optional, leave empty if no change to name is desired.
-
Participant's new password. Optional, leave empty if no change to password is desired. If provided, ensure it meets security standards.
Responses
-
Participant data successfully updated.
-
Authorization failed. Ensure the
X-Client-Key
sent is valid and active. -
Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission.
-
Participant data with the given ID was not found and thus cannot be updated.
-
Validation error occurred on the data submitted for update. Please check the format and completeness of the data.
-
An internal server error occurred. Please try again shortly or contact support.
curl \
--request PUT 'https://app.indolat.com/api/v1/participants/{id}' \
--header "X-Client-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"John Doe Updated","password":"NewSecurePassword321#"}'
{
"name": "John Doe Updated",
"password": "NewSecurePassword321#"
}