deleteToolsPluginsAuthoredByIdWithHttpInfo method

Future<Response> deleteToolsPluginsAuthoredByIdWithHttpInfo(
  1. String id
)

Removes one of the caller org's built plugins, so the runtime can no longer load it.

Removes one of the caller org's built plugins, so the runtime can no longer load it. Scoped to the caller's org, so an id belonging to another tenant answers 404 and is not deleted.

Note: This method returns the HTTP Response.

Parameters:

  • String id (required): ID is the plugin to remove, from the path.

Implementation

Future<Response> deleteToolsPluginsAuthoredByIdWithHttpInfo(String id,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/tools/plugins/authored/{id}'
    .replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'DELETE',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}