deleteComponentById function

Future<ApiResponse<Object?>> deleteComponentById(
  1. ExsitedClient client,
  2. Object componentUuid,
  3. Object componentObjectId, {
  4. bool? raiseOnError,
  5. String? responseFormat,
})

DELETE /api/{api_version}/component/{component_uuid}/{component_object_id}

Answered 204.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteComponentById(
  ExsitedClient client,
  Object componentUuid,
  Object componentObjectId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(CustomComponentsUrls.componentById,
        pathParams: {
          'component_uuid': componentUuid,
          'component_object_id': componentObjectId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);