Skip to content

Update a note

PUT
/notes/{id}

Authorizations

BearerAuth

JWT token from login

Type
HTTP (bearer)
or
AccessToken

Personal access token. Value: Token <your-token>

Type
API Key (header: Authorization)

Parameters

Path Parameters

id*
Type
string
Required

Request Body

application/json
JSON
{
  
"title": "string",
  
"content": "string",
  
"project": "string"
}

Responses

OK

application/json
JSON
{
  
"note": {
  
  
"_id": "string",
  
  
"title": "string",
  
  
"content": "string",
  
  
"project": "string",
  
  
"host_id": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI