PUT
/
v1
/
keys
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
}'
{
  "data": "<string>",
  "enabled": true,
  "expires_when": "2023-11-07T05:31:56Z",
  "last_used_when": "2023-11-07T05:31:56Z"
}

Authorizations

Api-Key
string
header
required

Body

application/json
data
string
required
enabled
boolean
required

Response

200
application/json
Successful Response
data
string
required
enabled
boolean
required
expires_when
string | null
required
last_used_when
string | null
required