Skip to main content
PATCH
Update operator shortcut

Authorizations

Authorization
string
header
required

Behalf of an Operator (default). A JWT issued by Talqui Core when an operator signs in, scoped to every tenant that operator belongs to. Send as Authorization: Bearer <jwt-token>.

Path Parameters

tenantID
string<uuid>
required

The tenant the shortcut belongs to.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
shortcutID
string<uuid>
required

The shortcut being updated.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
shortcutBang
string

Free-form shortcut name, 1-64 chars. Trimmed and lowercased, and a leading "!" is accepted and stripped, so "!Boas Vindas" is stored as "boas vindas".

shortcutContents
object[]

Ordered content blocks; dispatch order matches array order.

Required array length: 1 - 10 elements
shortcutScope
enum<string>

New visibility scope; promoting to "tenant-based" requires manager role or above.

Available options:
tenant-based,
user-based

Response

Response for status 200.

shortcut
object
required

The affected shortcut.