---
title: "Revoke a network agent"
method: POST
path: "/agents/{id}/revoke"
tags: ["Network Agents"]
---

# Revoke a network agent

`POST /agents/{id}/revoke`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/agents/{id}/revoke`
- Auth: HTTP basic

Revokes the agent's claim, releasing it from the account so it can be reclaimed.

## Path parameters

- `id` string, required

## Response `200`

Success

- StatusObject
  - `status` string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
