API Keys
Modify Api Key
- GETGet Card
- POSTGet Selected Cards
- POSTGet Specified Cards
- POSTGet Cards Since
- GETGet Deleted Cards
- POSTSimple Create Card
- POSTCreate Cards
- PATCHUpdate Cards
- PUTEnroll In Card
- POSTRemove Cards For Me
- POSTDelete Cards For Everyone
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTPut Pins
- GETGet Current User Profile
- GETGet Known Owner Profiles
- GETGet Other User Profile
- POSTGet Specified User Profiles
- GETGet Members
- POSTAttempt Join
- POSTInvite Member
- PUTRespond To Invite
- PUTModify Member
- DELDelete Member
- GETGet Friends
- POSTSend Friend Request
- GETGet Incoming Requests
- GETGet Outgoing Requests
- PUTAccept Friendship
- DELDelete Friendship
- GETGet Share Codes For Card
- POSTCreate Share Code
- PUTUpdate Share Code
- DELDelete Share Code
- GETFind Card With Share Code
- GETAuthed Find Card With Share Code
- POSTJoin Card With Share Code
Cards
User
Profiles
Members
Friends
Share
API Keys
Modify Api Key
Modify an API key for the user
PUT
/
v1
/
keys
Api-Key
string
*
Api-Key
Required
string
PutApiKey · object
*
data
Data · string
*
data
Required
string
enabled
Enabled · boolean
*
enabled
Required
boolean
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
headerrequiredBody
application/json
data
string
requiredenabled
boolean
requiredResponse
200 - application/json
data
string
requiredenabled
boolean
requiredexpires_when
string | null
requiredlast_used_when
string | null
requiredcurl --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"
}