---
title: "Enable or disable an agent credential"
description: ""
canonical: "https://pgbeam.com/docs/api/agents/updateAgentCredentialStatus"
last-updated: "2026-09-14T19:37:21.000Z"
---

# Enable or disable an agent credential

> 

URL: https://pgbeam.com/docs/api/agents/updateAgentCredentialStatus

Toggles the kill-switch between active and disabled. Disabling drops live connections within seconds. Revocation is terminal and cannot be undone here: a revoked credential answers 409, because revoking does not change its secrets, so putting it back to active would make the revoked password and MCP token work again. Issue a new credential instead.