---
title: "DELETE /v1/agentUsers/{agentUsersId}"
method: DELETE
path: "/v1/agentUsers/{agentUsersId}"
tags: ["agentUsers"]
---

# DELETE /v1/agentUsers/{agentUsersId}

`DELETE /v1/agentUsers/{agentUsersId}`

## Request

- Base URL: `https://homegraph.googleapis.com`
- URL: `https://homegraph.googleapis.com/v1/agentUsers/{agentUsersId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/homegraph`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/homegraph`

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.home.google.com/cloud-to-cloud/primer/fulfillment). 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.

## Path parameters

- `agentUsersId` string, required

## Query parameters

- `requestId` string

## Response `200`

Successful response

- Empty: 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); }

---

[API](https://skmtc.dev/google/apis/homegraph.md) - [All operations](https://skmtc.dev/google/apis/homegraph/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/homegraph/revisions/c423c1c8c08a?raw)
