publ betaReference (MCP guide)
Open publ console

publ Reference

member_view_restriction_apply

Lifts one viewing restriction, as the console view-restricted member screen does; the member can watch all videos again. Choose the restriction from members_list type VIEW_RESTRICTED or member_get. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
restrictionId Yes integer; greater than 0; Copy restrictionId from members_list type VIEW_RESTRICTED or member_get viewRestriction; it is not the member profileId.
profileId No integer; greater than 0
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.