Skip to main content
PUT
/
v1
/
consumer
/
protections
/
{id}
/
visibility
Update protection visibility
curl --request PUT \
  --url https://api.truthlocks.com/v1/consumer/protections/{id}/visibility \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "visibility": "public"
}
'
{
  "id": "<string>",
  "visibility": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

PUT/v1/consumer/protections/{id}/visibility
Change whether a content protection is publicly visible on your portfolio or hidden. Public protections appear in similarity checks and on your public profile page. Private protections are only visible to you. You can only update visibility for your own protections.

Parameters

id
string
required
The protection ID (UUID) returned when you protected the content.
visibility
string
required
The new visibility setting. Must be public or private.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string
required

Protection ID

Body

application/json
visibility
enum<string>
required

Visibility level

Available options:
public,
private,
unlisted

Response

Visibility updated

id
string
visibility
string
updated_at
string