cURL
curl --request PATCH \ --url https://statsigapi.net/console/v1/keys/{id} \ --header 'Content-Type: application/json' \ --header 'STATSIG-API-KEY: <api-key>' \ --data '{ "description": "<string>", "scopes": [ "omni_read_only" ], "environments": [ "<string>" ], "targetAppID": "<string>", "secondaryTargetAppIDs": [ "<string>" ] }'
{ "message": "Key updated successfully.", "data": { "environments": [ "staging" ], "targetAppID": "primaryApp", "secondaryTargetAppIDs": null } }
Optional header to respect review settings for mutation endpoints.
1000
Show child attributes
Key updated successfully
A simple string explaining the result of the operation.
A single result.
Was this page helpful?