cURL
curl --request PUT \ --url https://api.supernotes.app/v1/keys \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "data": "<string>", "enabled": true, "name": "<string>" }'
{ "data": "<string>", "enabled": true, "expires_when": "2023-11-07T05:31:56Z", "last_used_when": "2023-11-07T05:31:56Z", "name": "<string>" }
Modify an API key for the user
Successful Response