Skip to main content
PATCH
/
profiles
/
{username}
/
visibility
Username Visibility
curl --request PATCH \
  --url https://api.offlineprotocol.com/api/v1/profiles/{username}/visibility \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "hidden": true
}'
{
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

username
string
required

Body

application/json
hidden
boolean
Example:

true

Response

200 - application/json

Visibility updated

data
any
I