Skip to main content
PUT
/
snapshot
/
{snapshotId}
/
name
Rename a snapshot
curl --request PUT \
  --url https://app.myhero.so/snapshot/{snapshotId}/name \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "success": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Sets a new name for the snapshot. Requires edit access to the snapshot’s document. Returns { success: true } on success.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

snapshotId
string
required
Minimum string length: 1

Body

application/json
name
string
required
Minimum string length: 1

Response

200 response

data
object
required