PatchSpecificationanswersByAnswerId

Function: patchSpecificationanswersByAnswerId()

patchSpecificationanswersByAnswerId<ThrowOnError>(options): RequestResult<PatchSpecificationanswersByAnswerIdResponses, PatchSpecificationanswersByAnswerIdErrors, ThrowOnError>

Defined in: app/api/sdk.gen.ts:983

Partially updates a specific specification answer by its unique identifier using a JSON Patch document. The PatchSpecificationAnswer endpoint allows clients to modify individual properties of an existing answer—such as its value or status—without having to submit the entire answer entity. This approach is highly efficient for targeted updates and ensures that only the intended fields are altered. The endpoint validates the patch operations against the specification's requirements and ensures that the requesting user has the necessary permissions to perform the update. Upon a successful operation, it returns a 204 No Content status, indicating that the changes have been applied successfully.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options

Options<PatchSpecificationanswersByAnswerIdData, ThrowOnError>

Returns

RequestResult<PatchSpecificationanswersByAnswerIdResponses, PatchSpecificationanswersByAnswerIdErrors, ThrowOnError>

On this page