updateComponentById function
PATCH /api/{api_version}/component/{component_uuid}/{component_object_id}
Answered 202 under the component's name.
Implementation
Future<ApiResponse<ComponentByUuid>> updateComponentById(
ExsitedClient client,
Object componentUuid,
Object componentObjectId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(CustomComponentsUrls.componentById,
pathParams: {
'component_uuid': componentUuid,
'component_object_id': componentObjectId
},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: ComponentByUuid.fromMap);