---
title: "Remove an owner from an identity"
method: DELETE
path: "/v1/nhi/identities/{identity_id}/owners/{owner_id}"
tags: ["NHI Identity Owners"]
---

# Remove an owner from an identity

`DELETE /v1/nhi/identities/{identity_id}/owners/{owner_id}`

## Request

- Base URL: `https://api.gitguardian.com`
- URL: `https://api.gitguardian.com/v1/nhi/identities/{identity_id}/owners/{owner_id}`
- Auth: HTTP bearer

Remove an owner from a non-human identity. The removed owner is no longer
listed, and GitGuardian does not suggest it again for this identity.

The API token must have the Manager access level or above, or be a service account token.

## Path parameters

- `identity_id` integer, required
- `owner_id` integer, required

## Response `204`

Owner was removed.

## Other responses

- `401`: Invalid API key
- `403`: Permission denied
- `404`: Identity or owner not found
- `503`: API under maintenance

## Changes

- **2026-10-14** `a5ca8c876a75`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gitguardian/apis/gitguardian-api/changes/v1/nhi/identities/:identity_id/owners/:owner_id/delete.md)

---

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