---
title: "Return All X.509 Certificates Assigned to One Database User"
method: GET
path: "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs"
tags: ["X.509 Authentication"]
---

# Return All X.509 Certificates Assigned to One Database User

`GET /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs`

Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user.

## Path parameters

- `groupId` string, required
- `username` string, required

## Query parameters

- `envelope` boolean
- `includeCount` boolean
- `itemsPerPage` integer
- `pageNum` integer
- `pretty` boolean

## Response `200`

OK

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/revisions/e37e8ef8429f/schema)
