---
title: "POST /#X-Amz-Target=BackupOnPremises_v20210101.DisassociateGatewayFromServer"
method: POST
path: "/#X-Amz-Target=BackupOnPremises_v20210101.DisassociateGatewayFromServer"
---

# POST /#X-Amz-Target=BackupOnPremises_v20210101.DisassociateGatewayFromServer

`POST /#X-Amz-Target=BackupOnPremises_v20210101.DisassociateGatewayFromServer`

Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.

## Headers

- `X-Amz-Target` 'BackupOnPremises_v20210101.DisassociateGatewayFromServer', required

## Request body

- DisassociateGatewayFromServerInput
  - `GatewayArn` string, required — The Amazon Resource Name (ARN) of the gateway to disassociate.

## Response `200`

Success

- DisassociateGatewayFromServerOutput
  - `GatewayArn` string — The Amazon Resource Name (ARN) of the gateway you disassociated.

## Other responses

- `480` — ValidationException
- `481` — ConflictException
- `482` — InternalServerException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/backup-gateway.md) · [All operations](https://skmtc.net/aws/apis/backup-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/backup-gateway/revisions/5f9c8ce5c0f7/schema)
