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 } }
1000
omni_read_only
omni_read_write
client_download_config_specs
none_hash_enabled
can_access_keys
client_can_write_user_store
personal_read_only
personal_read_write
Key updated successfully
A simple string explaining the result of the operation.
A single result.
Show child attributes
Was this page helpful?