deleteDomainWithHttpInfo method
Delete a satellite domain
Deletes a satellite domain for the instance. It is currently not possible to delete the instance's primary domain.
Note: This method returns the HTTP Response
.
Parameters:
- String domainId (required): The ID of the domain that will be deleted. Must be a satellite domain.
Implementation
Future<http.Response> deleteDomainWithHttpInfo(
String domainId,
) async {
// ignore: prefer_const_declarations
final path = r'/domains/{domain_id}'.replaceAll('{domain_id}', domainId);
// 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,
);
}