deleteEndpointsKeysWithHttpInfo method

Future<Response> deleteEndpointsKeysWithHttpInfo(
  1. String companyId,
  2. String endpointId,
  3. String apiKeyId
)

DELETE /companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id}

Note: This method returns the HTTP Response.

Parameters:

  • String companyId (required): Unique identifier for the Company

  • String endpointId (required): Unique identifier for the Endpoint

  • String apiKeyId (required): Unique identifier for the Api Key

Implementation

Future<Response> deleteEndpointsKeysWithHttpInfo(String companyId, String endpointId, String apiKeyId,) async {
  // ignore: prefer_const_declarations
  final path = r'/companies/{company_id}/endpoints/{endpoint_id}/keys/{api_key_id}'
    .replaceAll('{company_id}', companyId)
    .replaceAll('{endpoint_id}', endpointId)
    .replaceAll('{api_key_id}', apiKeyId);

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