publ betaReference (MCP guide)
Open publ console

publ Reference

shorts_labels_apply

Creates, renames or deletes short labels in the Shorts app (pApp C00015). Shows a preview first; the change runs only after confirmation. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
action Yes one of: create, rename, delete (by kind)
action.type Yes When action.kind is create: COUNTRY, GENRE, AGE_RATING, TOPIC, GENERAL
action.name Yes When action.kind is create: string; min length 1; max length 30
action.labelId Yes When action.kind is rename: integer; greater than 0
action.name Yes When action.kind is rename: string; min length 1; max length 30
action.labelId Yes When action.kind is delete: integer; greater than 0
action.confirmation Yes When action.kind is delete: DELETE_MEDIA_LABEL
confirmToken No string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute.