publ betaReference (MCP guide)
Open publ console

publ Reference

autonomous_room_password_apply

Set or clear an autonomous room's entry password in the Messenger app (pApp D00003). Requires action set (SET_AUTONOMOUS_ROOM_PASSWORD, 1–10 digits) or clear (CLEAR_AUTONOMOUS_ROOM_PASSWORD). Write: the value is never logged or returned; a prepared change needs the same password again. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
roomId Yes string; min length 1; max length 200; pattern ^[^/?#%\\\s]+$
change Yes one of: set, clear (by action)
change.confirmation Yes When change.action is set: SET_AUTONOMOUS_ROOM_PASSWORD
change.password Yes When change.action is set: string; pattern ^\d{1,10}$
change.confirmation Yes When change.action is clear: CLEAR_AUTONOMOUS_ROOM_PASSWORD
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.