---
title: "Disconnect a specific client by MAC address from a Gateway"
method: POST
path: "/network-troubleshooting/v1/gateways/{serial-number}/disconnectClientByMacAddress"
tags: ["Gateways"]
---

# Disconnect a specific client by MAC address from a Gateway

`POST /network-troubleshooting/v1/gateways/{serial-number}/disconnectClientByMacAddress`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-troubleshooting/v1/gateways/{serial-number}/disconnectClientByMacAddress`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`
- TypeScript: <https://skmtc.dev/arubanetworks/apis/authorization/docs/network-troubleshooting/v1/gateways/:serial-number/disconnectClientByMacAddress/post.ts> (a function with typed inputs; its response is checked against the schema)

Initiates a disconnect action for a specific client connected to the specified Gateway, identified by its MAC address.

## Path parameters

- `serial-number` string, required

## Request body

- DisconnectClientByMacGwRequest
  - `clientMacAddress` string, required: MAC address of the client to disconnect.

## Response `202`

Accepted. The disconnect action has been successfully initiated.

- ActionInitiatedStatus
  - `startTime` string, date-time, required: ISO 8601 timestamp indicating when the action was initiated.
  - `status` 'INITIATED', required: The initial status of the action.

## Other responses

- `400`: Bad Request. Validation errors in the request body or parameters, or invalid parameters for the specific device.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found. The device with the specified serial number was not found.
- `409`: Conflict. The device is currently offline.
- `429`: Too Many Requests. The user has sent too many requests in a given amount of time.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
