Skip to main content
PATCH
/
bookmark
/
folder
/
{folderId}
cURL
curl --request PATCH \
  --url https://our-secret-api-url.com/bookmark/folder/{folderId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "userId": 123,
  "bookmarkCount": 123
}

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

Path Parameters

folderId
integer
required

ID of the folder to update

Body

application/json
name
string
required

New name for the folder

Response

Folder updated successfully

id
integer
name
string
createdAt
string<date-time>
userId
integer
bookmarkCount
integer