POST
/
api
/
v1
/
updateItem
/
{spaceId}
/
{itemId}
curl --request POST \
  --url https://hero.page/api/v1/updateItem/{spaceId}/{itemId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Update item title 2",
  "note": "This is my `wonderful` note",
  "image": "https://media.discordapp.net/attachments/1069316234291712020/1105446908962558022/samoshasfallen_Design_a_bustling_fantasy_marketplace_filled_wit_6b011c6f-6d0c-4e52-b65b-c76f313ef5f4.png",
  "link": "<string>"
}'

Authorizations

Authorization
string
headerrequired

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

Path Parameters

spaceId
string
required

The ID of the space where the item is located. Must be a non-empty string.

itemId
string
required

The ID of the item to update. Must be a non-empty string.

Body

application/json
title
string

The new title of the item. Optional.

note
string

The new note content of the item. Optional.

image
string

The new URL of the image associated with the item. Optional.

link
string

The new URL of the link associated with the item. Optional.