deleteComponent function

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

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

Delete a component definition, by the id its create answers; answered 204. The same request as custom_features.deleteComponentById.

No typed view: the answer has no body.

Implementation

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