{"openapi":"3.1.0","info":{"title":"HellaWorth Auth","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/choose":{"get":{"summary":"Choose Account","operationId":"choose_account_choose_get","parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/authorize/account/{slot}":{"get":{"summary":"Authorize Account","operationId":"authorize_account_authorize_account__slot__get","parameters":[{"name":"slot","in":"path","required":true,"schema":{"type":"integer","title":"Slot"}},{"name":"client_id","in":"query","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/authorize":{"get":{"summary":"Authorize","operationId":"authorize_authorize_get","parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"prompt","in":"query","required":false,"schema":{"type":"string","default":"","title":"Prompt"}},{"name":"slot","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Slot"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/change-password":{"get":{"summary":"Change Password Form","operationId":"change_password_form_change_password_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Change Password","description":"Finish a forced password change and continue the original sign-in.","operationId":"change_password_change_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_change_password_change_password_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/code/exchange":{"post":{"summary":"Exchange","operationId":"exchange_api_code_exchange_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_exchange_api_code_exchange_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grant/introspect":{"post":{"summary":"Introspect","operationId":"introspect_api_grant_introspect_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_introspect_api_grant_introspect_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grant/accounts":{"post":{"summary":"Grant Accounts","description":"List the Auth-device slots available to the holder of a client grant.","operationId":"grant_accounts_api_grant_accounts_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_grant_accounts_api_grant_accounts_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/device/accounts":{"get":{"summary":"Api Device Accounts","operationId":"api_device_accounts_api_device_accounts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/grant/revoke":{"post":{"summary":"Revoke Grant","operationId":"revoke_grant_api_grant_revoke_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_revoke_grant_api_grant_revoke_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grant/revoke-account":{"post":{"summary":"Revoke Account","description":"Sign one account out of one device.\n\nRevokes the grant's Auth session and every grant attached to it (so any app\non that session stops working) and removes the account from the device that\nheld it. Other accounts on the same device, and the same account on other\ndevices, are left alone.","operationId":"revoke_account_api_grant_revoke_account_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_revoke_account_api_grant_revoke_account_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/step-up":{"post":{"summary":"Admin Step Up","description":"Re-verify the operator's password and mint a short-lived step-up token.","operationId":"admin_step_up_api_admin_step_up_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_step_up_api_admin_step_up_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/step-up/verify":{"post":{"summary":"Admin Step Up Verify","description":"Check a step-up token for a Chat-only sensitive action.","operationId":"admin_step_up_verify_api_admin_step_up_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_step_up_verify_api_admin_step_up_verify_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/unlock":{"post":{"summary":"Admin Unlock","description":"Confirm the operator's password once and open the control room.\n\nThe minted grant satisfies any step-up purpose for an idle window, which is\nwhat lets the panel stop prompting on every action.","operationId":"admin_unlock_api_admin_unlock_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_unlock_api_admin_unlock_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/unlock/verify":{"post":{"summary":"Admin Unlock Verify","description":"Check a control-room unlock and slide its idle window forward.","operationId":"admin_unlock_verify_api_admin_unlock_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/unlock/revoke":{"post":{"summary":"Admin Unlock Revoke","description":"Drop a control-room unlock immediately (the \"Lock\" action).","operationId":"admin_unlock_revoke_api_admin_unlock_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/metrics":{"get":{"summary":"Admin Metrics","description":"Account-side totals for the control-room overview.","operationId":"admin_metrics_api_admin_metrics_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users":{"get":{"summary":"Admin List Users","description":"List accounts with server-side search, filtering, sort and paging.","operationId":"admin_list_users_api_admin_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Admin Create User","operationId":"admin_create_user_api_admin_users_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_create_user_api_admin_users_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/update":{"post":{"summary":"Admin Update User","description":"Rename an account and/or set its plan, troll, and permission markers.\n\nThe three markers are free text by design (unknown values are treated as the\nmost restrictive meaning), so each is normalized to upper case and only\nwritten when the caller supplies a value.","operationId":"admin_update_user_api_admin_users__username__update_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_update_user_api_admin_users__username__update_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/password":{"post":{"summary":"Admin Set Password","operationId":"admin_set_password_api_admin_users__username__password_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_set_password_api_admin_users__username__password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/force-password":{"post":{"summary":"Admin Force Password Change","description":"Require (or release) a new password at the account's next sign-in.\n\nForcing is deliberately paired with revoking live sessions: a requirement\na signed-in session could ignore would not be a requirement. Releasing only\nclears the flag and leaves the password and sessions untouched.","operationId":"admin_force_password_change_api_admin_users__username__force_password_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_force_password_change_api_admin_users__username__force_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/suspend":{"post":{"summary":"Admin Suspend User","operationId":"admin_suspend_user_api_admin_users__username__suspend_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_suspend_user_api_admin_users__username__suspend_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/revoke":{"post":{"summary":"Admin Revoke User","description":"Sign a user out everywhere without suspending the account.","operationId":"admin_revoke_user_api_admin_users__username__revoke_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/delete":{"post":{"summary":"Admin Delete User","operationId":"admin_delete_user_api_admin_users__username__delete_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/schedule-delete":{"post":{"summary":"Admin Schedule Delete","description":"Start the restorable deletion window for an account.","operationId":"admin_schedule_delete_api_admin_users__username__schedule_delete_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_schedule_delete_api_admin_users__username__schedule_delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/restore":{"post":{"summary":"Admin Restore User","description":"Cancel a scheduled deletion inside its retention window.","operationId":"admin_restore_user_api_admin_users__username__restore_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/users/{username}/purge":{"post":{"summary":"Internal Purge User","description":"Server-to-server: hard-delete an account whose retention window elapsed.\n\nAuthenticated with the shared client credential, but only ever acts on an\naccount that is already scheduled and past its deadline, so it cannot be\nused as a general delete bypass.","operationId":"internal_purge_user_api_internal_users__username__purge_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/impersonate":{"post":{"summary":"Admin Impersonate User","description":"Issue a short, read-only impersonation grant for an account.","operationId":"admin_impersonate_user_api_admin_users__username__impersonate_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_impersonate_user_api_admin_users__username__impersonate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/impersonation":{"get":{"summary":"Admin Impersonation List","description":"Active, unexpired impersonation grants, newest first.","operationId":"admin_impersonation_list_api_admin_impersonation_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/impersonation/{grant_id}/stop":{"post":{"summary":"Admin Impersonation Stop","description":"End an impersonation grant early.","operationId":"admin_impersonation_stop_api_admin_impersonation__grant_id__stop_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/impersonation/validate":{"post":{"summary":"Internal Impersonation Validate","description":"Server-to-server: is this impersonation token live, and for whom?","operationId":"internal_impersonation_validate_api_internal_impersonation_validate_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_internal_impersonation_validate_api_internal_impersonation_validate_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/impersonation/stop":{"post":{"summary":"Internal Impersonation Stop","description":"Server-to-server: revoke a grant by its raw token.","operationId":"internal_impersonation_stop_api_internal_impersonation_stop_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_internal_impersonation_stop_api_internal_impersonation_stop_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/sessions":{"get":{"summary":"Admin Session Report","operationId":"admin_session_report_api_admin_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/sessions/purge":{"post":{"summary":"Admin Session Purge","operationId":"admin_session_purge_api_admin_sessions_purge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/users/{username}/sessions":{"get":{"summary":"Admin User Sessions","description":"Recent Auth sessions for one account, newest first, paginated.\n\nIncludes the address and User-Agent captured at login, the last time the\nsession (or one of its grants) was used, and whether it still backs a live\ngrant, so the control room can show real devices rather than counts.","operationId":"admin_user_sessions_api_admin_users__username__sessions_get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{username}/sessions/{session_id}/revoke":{"post":{"summary":"Admin User Session Revoke","description":"End one login without touching the account or its other sessions.","operationId":"admin_user_session_revoke_api_admin_users__username__sessions__session_id__revoke_post","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signout":{"get":{"summary":"Signout","description":"Clear the SSO cookie when it points at a session the app just revoked.\n\nChat cannot touch an ``auth.hellaworth.com`` cookie, so it revokes the\naccount server-to-server and sends the browser here to drop the cookie. The\ncookie is only cleared when it is the exact session that was revoked, so\nsigning one account out never disturbs another account on the same device.","operationId":"signout_signout_get","parameters":[{"name":"session","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session"}},{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"summary":"Logout","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_admin_create_user_api_admin_users_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"plan":{"type":"string","title":"Plan","default":""},"troll":{"type":"string","title":"Troll","default":""},"permission":{"type":"string","title":"Permission","default":""}},"type":"object","required":["username","password"],"title":"Body_admin_create_user_api_admin_users_post"},"Body_admin_force_password_change_api_admin_users__username__force_password_post":{"properties":{"force":{"type":"boolean","title":"Force","default":true}},"type":"object","title":"Body_admin_force_password_change_api_admin_users__username__force_password_post"},"Body_admin_impersonate_user_api_admin_users__username__impersonate_post":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_admin_impersonate_user_api_admin_users__username__impersonate_post"},"Body_admin_schedule_delete_api_admin_users__username__schedule_delete_post":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_admin_schedule_delete_api_admin_users__username__schedule_delete_post"},"Body_admin_set_password_api_admin_users__username__password_post":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"Body_admin_set_password_api_admin_users__username__password_post"},"Body_admin_step_up_api_admin_step_up_post":{"properties":{"password":{"type":"string","title":"Password"},"purpose":{"type":"string","title":"Purpose"}},"type":"object","required":["password","purpose"],"title":"Body_admin_step_up_api_admin_step_up_post"},"Body_admin_step_up_verify_api_admin_step_up_verify_post":{"properties":{"purpose":{"type":"string","title":"Purpose"}},"type":"object","required":["purpose"],"title":"Body_admin_step_up_verify_api_admin_step_up_verify_post"},"Body_admin_suspend_user_api_admin_users__username__suspend_post":{"properties":{"suspended":{"type":"boolean","title":"Suspended","default":true}},"type":"object","title":"Body_admin_suspend_user_api_admin_users__username__suspend_post"},"Body_admin_unlock_api_admin_unlock_post":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"Body_admin_unlock_api_admin_unlock_post"},"Body_admin_update_user_api_admin_users__username__update_post":{"properties":{"new_username":{"type":"string","title":"New Username","default":""},"plan":{"type":"string","title":"Plan","default":""},"troll":{"type":"string","title":"Troll","default":""},"permission":{"type":"string","title":"Permission","default":""}},"type":"object","title":"Body_admin_update_user_api_admin_users__username__update_post"},"Body_change_password_change_password_post":{"properties":{"password":{"type":"string","title":"Password"},"confirm":{"type":"string","title":"Confirm","default":""}},"type":"object","required":["password"],"title":"Body_change_password_change_password_post"},"Body_exchange_api_code_exchange_post":{"properties":{"code":{"type":"string","title":"Code"},"client_id":{"type":"string","title":"Client Id"},"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["code","client_id","redirect_uri"],"title":"Body_exchange_api_code_exchange_post"},"Body_grant_accounts_api_grant_accounts_post":{"properties":{"grant":{"type":"string","title":"Grant"},"client_id":{"type":"string","title":"Client Id"}},"type":"object","required":["grant","client_id"],"title":"Body_grant_accounts_api_grant_accounts_post"},"Body_internal_impersonation_stop_api_internal_impersonation_stop_post":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"Body_internal_impersonation_stop_api_internal_impersonation_stop_post"},"Body_internal_impersonation_validate_api_internal_impersonation_validate_post":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"Body_internal_impersonation_validate_api_internal_impersonation_validate_post"},"Body_introspect_api_grant_introspect_post":{"properties":{"grant":{"type":"string","title":"Grant"},"client_id":{"type":"string","title":"Client Id"},"ip":{"type":"string","title":"Ip","default":""}},"type":"object","required":["grant","client_id"],"title":"Body_introspect_api_grant_introspect_post"},"Body_login_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"authorize_query":{"type":"string","title":"Authorize Query","default":""}},"type":"object","required":["username","password"],"title":"Body_login_login_post"},"Body_revoke_account_api_grant_revoke_account_post":{"properties":{"grant":{"type":"string","title":"Grant"},"client_id":{"type":"string","title":"Client Id"}},"type":"object","required":["grant","client_id"],"title":"Body_revoke_account_api_grant_revoke_account_post"},"Body_revoke_grant_api_grant_revoke_post":{"properties":{"grant":{"type":"string","title":"Grant"},"client_id":{"type":"string","title":"Client Id"}},"type":"object","required":["grant","client_id"],"title":"Body_revoke_grant_api_grant_revoke_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}