updateProductionInstanceDomain method
Future<void>
updateProductionInstanceDomain({
- 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.
Parameters:
- UpdateProductionInstanceDomainRequest updateProductionInstanceDomainRequest:
Implementation
Future<void> updateProductionInstanceDomain({
UpdateProductionInstanceDomainRequest?
updateProductionInstanceDomainRequest,
}) async {
final response = await updateProductionInstanceDomainWithHttpInfo(
updateProductionInstanceDomainRequest:
updateProductionInstanceDomainRequest,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}