cURL
curl --request PATCH \ --url https://statsigapi.net/console/v1/keys/{id}/rotate \ --header 'STATSIG-API-KEY: <api-key>'
{ "message": "Key rotated successfully,", "data": { "key": "secret-123", "type": "SERVER", "description": "Server secret key", "scopes": [], "environments": [ "production" ], "primaryTargetApp": "primaryApp", "secondaryTargetApps": [ "secondaryApp" ], "status": "active" } }
Documentation IndexFetch the complete documentation index at: https://statsig-4b2ff144-mintlify-seo-metadata-1777910999.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-seo-metadata-1777910999.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Key rotated successfully
A simple string explaining the result of the operation.
A single result.
Show child attributes
Was this page helpful?