updateOrganizationDomainWithHttpInfo method
Future<Response>
updateOrganizationDomainWithHttpInfo(
- String organizationId,
- String domainId,
- UpdateOrganizationDomainRequest updateOrganizationDomainRequest
Update an organization domain.
Updates the properties of an existing organization domain.
Note: This method returns the HTTP Response
.
Parameters:
-
String organizationId (required): The ID of the organization the domain belongs to
-
String domainId (required): The ID of the domain
-
UpdateOrganizationDomainRequest updateOrganizationDomainRequest (required):
Implementation
Future<http.Response> updateOrganizationDomainWithHttpInfo(
String organizationId,
String domainId,
UpdateOrganizationDomainRequest updateOrganizationDomainRequest,
) 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 = updateOrganizationDomainRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}