curl -X POST https://scrape.st/api-key/migrate \
-H "x-api-key: YOUR_API_KEY"
{
"data": null,
"message": "API key rotation queued. Your key is being migrated in the background."
}
API Keys
Migrate API Key
Rotate your API key and migrate all associated configuration
POST
/
api-key
/
migrate
curl -X POST https://scrape.st/api-key/migrate \
-H "x-api-key: YOUR_API_KEY"
{
"data": null,
"message": "API key rotation queued. Your key is being migrated in the background."
}
Rotate your API key. Queues a background job that generates a new key and migrates all associated tracking, webhooks, and configuration.
Your current API key will stop working once migration completes. Make sure to
update your integration with the new key.
Response
Returns202 Accepted when the rotation job is queued.
null
Always
null — the new key will be delivered asynchronously.string
Status message
curl -X POST https://scrape.st/api-key/migrate \
-H "x-api-key: YOUR_API_KEY"
{
"data": null,
"message": "API key rotation queued. Your key is being migrated in the background."
}