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
header
required

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.

Example:

"EeQKVCfV0tsoQwmeE0nA"

itemId
string
required

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

Example:

"hRzp9xTTl5pnj2G2Nr3E"

Body

application/json

Response

200

Updated