PATCH
/
{version}
/
users
/
{user}
/
attachments
/
{attachment}
/
pivot
curl --request PATCH \
  --url https://api.perscom.io/{version}/users/{user}/attachments/{attachment}/pivot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pivot": {}
}'
{
  "updated": [
    123
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
user
integer
required
attachment
integer
required

Body

application/json
pivot
object

Pivot fields

Response

200
application/json
OK
updated
integer[]