---
title: "Delete an agent's credential"
method: DELETE
path: "/api/v2/agents/{agent_id}/inbound-credentials/{client_id}"
tags: ["Agents"]
---

# Delete an agent's credential

`DELETE /api/v2/agents/{agent_id}/inbound-credentials/{client_id}`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/agents/{agent_id}/inbound-credentials/{client_id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/agents/:agent_id/inbound-credentials/:client_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the OAuth 2.0 credential for an agent.

## Path parameters

- `agent_id` string, required
- `client_id` string, required

## Headers

- `x-org-id` string

## Response `204`

Credential deleted successfully. Already-issued gateway access tokens stay valid until they expire or are revoked.

## Other responses

- `401`: Unauthenticated
- `404`: Not Found
- `default`: Unexpected error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
