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