NHI Identity Owners

List owners of an identity

Changed on

List the active owners of a non-human identity: the owners suggested by GitGuardian and the owners added manually. Removed owners are not listed.

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

get/v1/nhi/identities/{identity_id}/owners

Request

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

Path parameters

identity_idinteger required

The id of the non-human identity

Response

Owners of the identity.

identity_idinteger required

Example response

{
  "identity_id": 1234,
  "owners": [
    {
      "id": 42,
      "email": "jane.doe@example.com",
      "user_id": 7,
      "confidence": 1
    }
  ]
}

Changes