---
title: "Update certificates privacy level"
method: PATCH
path: "/api/v2/users/{userId}/certificates/privacy-level"
tags: ["Users"]
---

# Update certificates privacy level

`PATCH /api/v2/users/{userId}/certificates/privacy-level`

> 🔑
>
> Required OAuth scope: `users:write`.

Updates the privacy level of the specified certificates belonging to the given user.

## Path parameters

- `userId` string, ObjectId, required

## Headers

- `360-api-version` 'v2.0', required

## Request body

- UpdateUserCertificatesPrivacyLevelBody
  - `certificateIds` string[], required — The unique IDs of the certificates.
  - `isPublic` boolean, required — The privacy level value of the certificates.

## Response `200`

Successfully updated the privacy level of the certificates.

- EmptyResponse

## Other responses

- `400` — The server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `404` — The server cannot find the requested resource.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.dev/360learning/apis/core-api.md) · [All operations](https://skmtc.dev/360learning/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/360learning/core-api/revisions/94b691b0b72c/schema)
