Skip to main content

Edit a snapshot

Issue a PATCH request to the snapshot endpoint to edit a snapshot.

You can only edit the name field.

PATCH https://admin-api.phosphor.xyz/v1/snapshots/{snapshot_id}
Example payload
{
"name": "snapshot-100"
}
Example response
{
"collection_id": null,
"contract_address": "0x23581767a106ae21c074b2276D25e5C3e136a68b",
"criteria": {
"block_number": "15796241",
"max_tokens": null,
"min_tokens": "1",
"timestamp": null,
"token_ids": null,
"token_range": [
{
"from_id": "1000",
"to_id": "7404"
}
]
},
"id": "69520a3f-12fd-4977-a04c-47ece3616e24",
"name": "snapshot-100",
"network_id": 59140,
"organization_id": "f4d13d67-d918-4e34-9a4d-166f243cc6c5",
"status": "COMPLETED",
"token_type": "ERC721"
}