Skip to main content
PATCH
/
bookmark
cURL
curl --request PATCH \
  --url https://our-secret-api-url.com/bookmark \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '
{
  "postId": "123",
  "newFolderId": 2
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
postId
string
required
Example:

"123"

newFolderId
number
required
Example:

2

Response

Bookmark reassigned successfully

success
boolean
message
string