Method: subscriptions.patch

Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Optional. Immutable. Identifier. Resource name of the subscription.

Format: subscriptions/{subscription}

Query parameters


string (FieldMask format)

Optional. The field to update. If omitted, updates any fields included in the request.

You can update one of the following fields in a subscription:

  • expireTime: The timestamp when the subscription expires.
  • ttl: The time-to-live (TTL) or duration of the subscription.

To fully replace the subscription (the equivalent of PUT), use *. Any omitted fields are updated with empty values.



Optional. If set to true, validates and previews the request, but doesn't update the subscription.

Request body

The request body contains an instance of Subscription.

Response body

If successful, the response body contains an instance of Operation.

  • The metadata field contains an empty array.
  • The response field contains an updated instance of Subscription.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authorization guide.