Skip to content

Archive a Shot you own

POST
/v1/shots/{public_id}/archive
curl --request POST \
--url https://example.com/v1/shots/example/archive \
--header 'Authorization: Bearer <token>'

Retire one of your own photography recipes.

204: your read surface lists only published Shots, so there is nothing truthful to return for one that has just left that set. Publishing stays an operator action — this is only the undo half of the pair.

public_id
required
Public Id
string
X-Shopify-Hmac-Sha256
Any of:
string

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}