deletePlatformSecretWithHttpInfo method

Future<Response> deletePlatformSecretWithHttpInfo(
  1. String platformId,
  2. String name
)

Delete a secret.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> deletePlatformSecretWithHttpInfo(String platformId, String name,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/platforms/{platformId}/secrets/{name}'
    .replaceAll('{platformId}', platformId)
    .replaceAll('{name}', name);

  // 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,
  );
}