PUT
/
v1
/
keys
curl --request PUT \
  --url https://api.supernotes.app/v1/keys \
  --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
headerrequired

Body

application/json
data
string
required
enabled
boolean
required

Response

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