Update an existing participant's data

PUT /participants/{id}

Modifies the detailed information of a registered participant based on their unique ID.

Path parameters

  • id integer(int64) Required

    Unique ID of the participant whose data will be updated.

application/json

Body Required

JSON object containing the participant data to be updated. Only provided fields will be changed.

  • name string

    Participant's new full name. Optional, leave empty if no change to name is desired.

  • password string

    Participant's new password. Optional, leave empty if no change to password is desired. If provided, ensure it meets security standards.

Responses

  • 200

    Participant data successfully updated.

  • 401

    Authorization failed. Ensure the X-Client-Key sent is valid and active.

  • 403

    Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission.

  • 404

    Participant data with the given ID was not found and thus cannot be updated.

  • 422

    Validation error occurred on the data submitted for update. Please check the format and completeness of the data.

  • 500

    An internal server error occurred. Please try again shortly or contact support.

PUT /participants/{id}
curl \
 --request PUT 'https://sandbox.indolat.com/api/v1/participants/{id}' \
 --header "X-Client-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"name":"John Doe Updated","password":"NewSecurePassword321#"}'
Request examples
{
  "name": "John Doe Updated",
  "password": "NewSecurePassword321#"
}