Skip to main content
POST
/
v1
/
short-urls
/
revalidate
Revalidate all short URLs
curl --request POST \
  --url https://api.oneofnone.io/v1/short-urls/revalidate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "revalidated": true
}

Authorizations

x-api-key
string
header
required

Body

application/json
collection_id
string<uuid>
required

Response

Successful response

revalidated
boolean
required