deleteOrganizationDomainWithHttpInfo method
Remove a domain from an organization.
Removes the given domain from the organization.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<http.Response> deleteOrganizationDomainWithHttpInfo(
String organizationId,
String domainId,
) async {
// ignore: prefer_const_declarations
final path = r'/organizations/{organization_id}/domains/{domain_id}'
.replaceAll('{organization_id}', organizationId)
.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,
);
}