changeProductionInstanceDomain method
Future<void>
changeProductionInstanceDomain({
- ChangeProductionInstanceDomainRequest? changeProductionInstanceDomainRequest,
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:
- ChangeProductionInstanceDomainRequest changeProductionInstanceDomainRequest:
Implementation
Future<void> changeProductionInstanceDomain({
ChangeProductionInstanceDomainRequest?
changeProductionInstanceDomainRequest,
}) async {
final response = await changeProductionInstanceDomainWithHttpInfo(
changeProductionInstanceDomainRequest:
changeProductionInstanceDomainRequest,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}