updateProjectRegions method
PATCH /{version}/account/projects/{projectId}/settings/regions
Updates the project's regions. The body may contain primaryRegion
(a region code, e.g. "nb-eu-germany") and/or additionalRegions (a
list of region codes). The response is empty.
Implementation
Future<Object?> updateProjectRegions(
{Object? projectId,
Map<String, Object?>? query,
Object? body,
Map<String, String>? headers,
String? region}) {
return transport.send(
route: '/{version}/account/projects/{projectId}/settings/regions',
method: 'PATCH',
query: query,
body: body,
headers: headers,
pathParams: <String, Object?>{'projectId': projectId},
region: region,
);
}