Renews a recently expired domain. This method can only be called on domains that expired in the previous 30 days. After the renewal, the new expiration time of the domain is one year after the old expiration time and you are charged a yearlyPrice
for the renewal.
HTTP request
POST https://domains.googleapis.com/v1beta1/{registration=projects/*/locations/*/registrations/*}:renewDomain
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
registration |
Required. The name of the Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"yearlyPrice": {
object ( |
Fields | |
---|---|
yearlyPrice |
Required. Acknowledgement of the price to renew the domain for one year. To get the price, see Cloud Domains pricing. If not provided, the expected price is returned in the error message. |
validateOnly |
Optional. When true, only validation is performed, without actually renewing the domain. For more information, see Request validation |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.