Admin
Generate a short-lived JWT admin token
Generates a short-lived JWT admin token for browser-based admin operations. The user must already be authenticated with Firebase and have admin privileges. The generated token expires after 1 hour.
post/admin/generate-token
Request
- Base URLhttps://api.comfy.org
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
JWT token generated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.