Memos
Shortcut Service

Update Shortcut

UpdateShortcut updates a shortcut for a user.

PATCH
/api/v1/users/{user}/shortcuts/{shortcut}

Path Parameters

user*string

The user id.

shortcut*string

The shortcut id.

Query Parameters

updateMask?string

Optional. The list of fields to update.

Formatfield-mask

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/v1/users/string/shortcuts/string" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{
  "name": "string",
  "title": "string",
  "filter": "string"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings