HomeGraph API . agentUsers

Instance Methods

delete(agentUserId, requestId=None, x__xgafv=None)

Unlinks the given third-party user from your smart home Action.

Method Details

delete(agentUserId, requestId=None, x__xgafv=None)
Unlinks the given third-party user from your smart home Action.
All data related to this user will be deleted.

For more details on how users link their accounts, see
[fulfillment and
authentication](https://developers.google.com/assistant/smarthome/concepts/fulfillment-authentication).

The third-party user's identity is passed in via the `agent_user_id`
(see DeleteAgentUserRequest).
This request must be authorized using service account credentials from your
Actions console project.

Args:
  agentUserId: string, Required. Third-party user ID. (required)
  requestId: string, Request ID used for debugging.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated
      # empty messages in your APIs. A typical example is to use it as the request
      # or the response type of an API method. For instance:
      #
      #     service Foo {
      #       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
      #     }
      #
      # The JSON representation for `Empty` is empty JSON object `{}`.
  }