v1

latestOpenAPI 3.1.02026-08-04164270844.7 KB
Users

Update certificates privacy level

🔑

Required OAuth scope: users:write.

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

patch/api/v2/users/{userId}/certificates/privacy-level

Path parameters

userIdstring ObjectId required
Example:507f1f77bcf86cd799439011

The unique ID of the user.

Headers

360-api-version'v2.0' required

The version of the API.

Request body

certificateIdsstring[] required

The unique IDs of the certificates.

isPublicboolean required

The privacy level value of the certificates.

Example request

{
  "certificateIds": [
    "507f1f77bcf86cd799439011"
  ]
}

Response

Successfully updated the privacy level of the certificates.

EmptyResponse required