updateProductionInstanceDomainWithHttpInfo method
Future<Response>
updateProductionInstanceDomainWithHttpInfo({
- UpdateProductionInstanceDomainRequest? updateProductionInstanceDomainRequest,
Update production instance domain
Change the domain of a production instance. Changing the domain requires updating the DNS records accordingly, deploying new SSL certificates, updating your Social Connection's redirect URLs and setting the new keys in your code. WARNING: Changing your domain will invalidate all current user sessions (i.e. users will be logged out). Also, while your application is being deployed, a small downtime is expected to occur.
Note: This method returns the HTTP Response
.
Parameters:
- UpdateProductionInstanceDomainRequest updateProductionInstanceDomainRequest:
Implementation
Future<http.Response> updateProductionInstanceDomainWithHttpInfo({
UpdateProductionInstanceDomainRequest?
updateProductionInstanceDomainRequest,
}) async {
// ignore: prefer_const_declarations
final path = r'/beta_features/domain';
// ignore: prefer_final_locals
Object? postBody = updateProductionInstanceDomainRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}