funko
browser-session

Take down, restore, or grant generations

Clerk session + operator ring. The action is named in the body rather than split across routes so the audit story is one handler: every branch writes a mod-log entry, and there is no path that mutates a figure without one. Calls the same moderation functions the MCP tools call, so the two surfaces cannot disagree about what a takedown does.

post/api/funko/admin

Request

  • Base URL: https://www.immersivecommons.com
  • URL: https://www.immersivecommons.com/api/funko/admin
  • Auth: API key in cookie __session

Request body

action'takedown' | 'restore' | 'grant' required
handlestring

The figure to act on (takedown / restore).

userIdstring

The member to act on. Accepted in place of handle, and required for grant.

reasonstring

Recorded in the moderation log.

countinteger

Generations to grant. grant only.

Response

The action's result.

okboolean required
userIdstring
grantsinteger

grant only — the member's new grant total.

Changes

No recorded changes to this operation across all 1 revision of this API.