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

# Delete an agent's credential

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

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- 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-api-2/docs/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-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
