PutEnrollmentsByActivityIdByMemberId
Function: putEnrollmentsByActivityIdByMemberId()
putEnrollmentsByActivityIdByMemberId<
ThrowOnError>(options):RequestResult<PutEnrollmentsByActivityIdByMemberIdResponses,PutEnrollmentsByActivityIdByMemberIdErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:264
Updates a specific enrollment by its unique identifier with the provided data. The PutEnrollment endpoint allows clients to submit a request to update an existing enrollment by providing the necessary information in the PostEnrollmentDTO. This endpoint is designed to handle the updating of enrollments, ensuring that the provided data is validated and processed correctly, while also enforcing proper authorization to ensure that only authorized users can update existing enrollments within the system. Upon successful update, the endpoint returns a 204 No Content status code, indicating that the enrollment has been successfully updated without returning any content in the response body, allowing clients to easily manage and modify enrollment details as needed.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options
Options<PutEnrollmentsByActivityIdByMemberIdData, ThrowOnError>
Returns
RequestResult<PutEnrollmentsByActivityIdByMemberIdResponses, PutEnrollmentsByActivityIdByMemberIdErrors, ThrowOnError>