Rename a snapshot
PATCH
/v1/studio/magic/boards/{board_id}/snapshots/{snapshot_id}
const url = 'http://localhost:8300/v1/studio/magic/boards/example/snapshots/example';const options = { method: 'PATCH', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8300/v1/studio/magic/boards/example/snapshots/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "name": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”board_id
required
string
A Magic board’s UUID (another user’s or malformed = 404)
snapshot_id
required
string
A board snapshot’s UUID (malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
Example generated
{ "name": "example"}Responses
Section titled “Responses”The snapshot
Media typeapplication/json
object
id
required
string format: uuid
name
required
string
revision
required
integer
made_at
required
string format: date-time
blocks
required
integer
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "revision": 1, "made_at": "2026-04-15T12:00:00Z", "blocks": 1}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Not found
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Invalid input
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}