{"openapi":"3.1.0","info":{"title":"Circumference Connect","version":"0.1.0"},"paths":{"/api/v1/me":{"get":{"tags":["identity"],"summary":"Me","description":"The signed-in person, their MFA status, and their account (if any).","operationId":"me_api_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Api V1 Me Get"}}}}}}},"/api/v1/mfa/enroll":{"post":{"tags":["identity"],"summary":"Enroll","description":"Start enrollment; the seed and QR code are shown once.","operationId":"enroll_api_v1_mfa_enroll_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Enroll Api V1 Mfa Enroll Post"}}}}}}},"/api/v1/mfa/confirm":{"post":{"tags":["identity"],"summary":"Confirm","description":"Activate enrollment with the first code; returns a session token.","operationId":"confirm_api_v1_mfa_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__identity__CodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Confirm Api V1 Mfa Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mfa/verify":{"post":{"tags":["identity"],"summary":"Verify","description":"Exchange a current code for a session token (failures are audited by the handler).","operationId":"verify_api_v1_mfa_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__identity__CodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Api V1 Mfa Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounts":{"post":{"tags":["accounts"],"summary":"Create Account","description":"Create an account with the caller as Owner (terms acceptance required).","operationId":"create_account_api_v1_accounts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Account Api V1 Accounts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account":{"get":{"tags":["accounts"],"summary":"Get Account","operationId":"get_account_api_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Account Api V1 Account Get"}}}}}},"patch":{"tags":["accounts"],"summary":"Update Account","operationId":"update_account_api_v1_account_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccountBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Update Account Api V1 Account Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/close":{"post":{"tags":["accounts"],"summary":"Close Account","description":"Owner closes the account; personal data is purged after the retention window.","operationId":"close_account_api_v1_account_close_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Close Account Api V1 Account Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/export":{"get":{"tags":["accounts"],"summary":"Export Personal Data","description":"Download the caller's personal data as a ZIP with a SHA-256 manifest.","operationId":"export_personal_data_api_v1_account_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/account/deletion-code":{"post":{"tags":["accounts"],"summary":"Deletion Code","description":"A one-time code (10 minutes) to give the data deletion portal as proof it is you.","operationId":"deletion_code_api_v1_account_deletion_code_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Deletion Code Api V1 Account Deletion Code Post"}}}}}}},"/api/v1/account/leave":{"post":{"tags":["accounts"],"summary":"Leave","description":"A member leaves; their devices stop working at once.","operationId":"leave_api_v1_account_leave_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Leave Api V1 Account Leave Post"}}}}}}},"/api/v1/account/members":{"post":{"tags":["accounts"],"summary":"Invite","description":"Invite a person; the one-time link is also returned once for direct sharing.","operationId":"invite_api_v1_account_members_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Invite Api V1 Account Members Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/invitations":{"get":{"tags":["accounts"],"summary":"List Invitations","operationId":"list_invitations_api_v1_account_invitations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Invitations Api V1 Account Invitations Get"}}}}}}},"/api/v1/account/invitations/{invitation_id}/resend":{"post":{"tags":["accounts"],"summary":"Resend Invitation","operationId":"resend_invitation_api_v1_account_invitations__invitation_id__resend_post","parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resend Invitation Api V1 Account Invitations  Invitation Id  Resend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/invitations/{invitation_id}":{"delete":{"tags":["accounts"],"summary":"Revoke Invitation","operationId":"revoke_invitation_api_v1_account_invitations__invitation_id__delete","parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/members/{user_id}":{"patch":{"tags":["accounts"],"summary":"Set Role","operationId":"set_role_api_v1_account_members__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Role Api V1 Account Members  User Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["accounts"],"summary":"Remove Member","description":"Owner removes a member; that member's devices are revoked in the same step.","operationId":"remove_member_api_v1_account_members__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Member Api V1 Account Members  User Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invitations/preview":{"post":{"tags":["accounts"],"summary":"Preview","description":"What the invitation is for, before the person accepts it.","operationId":"preview_api_v1_invitations_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__accounts__TokenBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Preview Api V1 Invitations Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invitations/accept":{"post":{"tags":["accounts"],"summary":"Accept","operationId":"accept_api_v1_invitations_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Accept Api V1 Invitations Accept Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/activity":{"get":{"tags":["accounts"],"summary":"Activity","description":"Recent audit events as sentences, newest first. Members see only their own events.","operationId":"activity_api_v1_account_activity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Activity Api V1 Account Activity Get"}}}}}}},"/api/v1/account/activity/export":{"get":{"tags":["accounts"],"summary":"Export Activity","description":"Owner downloads the whole activity log (90-day retention) as CSV or JSON.","operationId":"export_activity_api_v1_account_activity_export_get","parameters":[{"name":"format","in":"query","required":false,"schema":{"enum":["csv","json"],"type":"string","default":"csv","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog":{"get":{"tags":["networks"],"summary":"Catalog","description":"Gateway sizes, regions, and prices per region.","operationId":"catalog_api_v1_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Catalog Api V1 Catalog Get"}}}}}}},"/api/v1/networks":{"get":{"tags":["networks"],"summary":"List Networks","operationId":"list_networks_api_v1_networks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Networks Api V1 Networks Get"}}}}}},"post":{"tags":["networks"],"summary":"Create Network","operationId":"create_network_api_v1_networks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNetworkBody"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Network Api V1 Networks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}":{"get":{"tags":["networks"],"summary":"Get Network","operationId":"get_network_api_v1_networks__network_id__get","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Network Api V1 Networks  Network Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["networks"],"summary":"Update Network","operationId":"update_network_api_v1_networks__network_id__patch","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNetworkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Network Api V1 Networks  Network Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["networks"],"summary":"Delete Network","operationId":"delete_network_api_v1_networks__network_id__delete","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Network Api V1 Networks  Network Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/policy":{"get":{"tags":["networks"],"summary":"Export Policy","description":"The policy as `PUT .../policy` takes it, plus device names for reading.","operationId":"export_policy_api_v1_networks__network_id__policy_get","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Export Policy Api V1 Networks  Network Id  Policy Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["networks"],"summary":"Set Policy","operationId":"set_policy_api_v1_networks__network_id__policy_put","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Policy Api V1 Networks  Network Id  Policy Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/gateway/{action}":{"post":{"tags":["networks"],"summary":"Gateway Power","description":"Start (\"Reconnect\") or stop every location of the network.","operationId":"gateway_power_api_v1_networks__network_id__gateway__action__post","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}},{"name":"action","in":"path","required":true,"schema":{"enum":["start","stop"],"type":"string","title":"Action"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Gateway Power Api V1 Networks  Network Id  Gateway  Action  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/locations":{"post":{"tags":["networks"],"summary":"Add Location","operationId":"add_location_api_v1_networks__network_id__locations_post","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Location Api V1 Networks  Network Id  Locations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/locations/{gateway_id}":{"patch":{"tags":["networks"],"summary":"Update Location","operationId":"update_location_api_v1_networks__network_id__locations__gateway_id__patch","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}},{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLocationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Location Api V1 Networks  Network Id  Locations  Gateway Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["networks"],"summary":"Delete Location","operationId":"delete_location_api_v1_networks__network_id__locations__gateway_id__delete","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}},{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Location Api V1 Networks  Network Id  Locations  Gateway Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/locations/{gateway_id}/check":{"post":{"tags":["networks"],"summary":"Check Location","description":"Ask for a health read soon (at most twice a minute per location).","operationId":"check_location_api_v1_networks__network_id__locations__gateway_id__check_post","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}},{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Check Location Api V1 Networks  Network Id  Locations  Gateway Id  Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/locations/{gateway_id}/{action}":{"post":{"tags":["networks"],"summary":"Location Power","operationId":"location_power_api_v1_networks__network_id__locations__gateway_id___action__post","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}},{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}},{"name":"action","in":"path","required":true,"schema":{"enum":["start","stop"],"type":"string","title":"Action"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Location Power Api V1 Networks  Network Id  Locations  Gateway Id   Action  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operations/{operation_id}":{"get":{"tags":["networks"],"summary":"Get Operation","operationId":"get_operation_api_v1_operations__operation_id__get","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Operation Api V1 Operations  Operation Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/networks/{network_id}/devices":{"post":{"tags":["devices"],"summary":"Enroll","operationId":"enroll_api_v1_networks__network_id__devices_post","parameters":[{"name":"network_id","in":"path","required":true,"schema":{"type":"string","title":"Network Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Enroll Api V1 Networks  Network Id  Devices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/devices/{device_id}/reissue":{"post":{"tags":["devices"],"summary":"Reissue","operationId":"reissue_api_v1_devices__device_id__reissue_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReissueBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reissue Api V1 Devices  Device Id  Reissue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/devices/{device_id}":{"patch":{"tags":["devices"],"summary":"Update","description":"Rename, or change the exit, routes, or configuration options of a device.","operationId":"update_api_v1_devices__device_id__patch","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Api V1 Devices  Device Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["devices"],"summary":"Get Device","operationId":"get_device_api_v1_devices__device_id__get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Device Api V1 Devices  Device Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["devices"],"summary":"Revoke","operationId":"revoke_api_v1_devices__device_id__delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Api V1 Devices  Device Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/devices/{device_id}/check":{"post":{"tags":["devices"],"summary":"Check","description":"Ask the device's location for a health read soon (the connection check).","operationId":"check_api_v1_devices__device_id__check_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Check Api V1 Devices  Device Id  Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/tokens":{"get":{"tags":["automation"],"summary":"List Tokens","operationId":"list_tokens_api_v1_account_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Tokens Api V1 Account Tokens Get"}}}}}},"post":{"tags":["automation"],"summary":"Create Token","operationId":"create_token_api_v1_account_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__automation__TokenBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Token Api V1 Account Tokens Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/tokens/{token_id}":{"delete":{"tags":["automation"],"summary":"Revoke Token","operationId":"revoke_token_api_v1_account_tokens__token_id__delete","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/webhooks":{"get":{"tags":["automation"],"summary":"List Webhooks","operationId":"list_webhooks_api_v1_account_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Webhooks Api V1 Account Webhooks Get"}}}}}},"post":{"tags":["automation"],"summary":"Create Webhook","operationId":"create_webhook_api_v1_account_webhooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Webhook Api V1 Account Webhooks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/webhooks/{webhook_id}":{"patch":{"tags":["automation"],"summary":"Update Webhook","operationId":"update_webhook_api_v1_account_webhooks__webhook_id__patch","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Webhook Api V1 Account Webhooks  Webhook Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["automation"],"summary":"Delete Webhook","operationId":"delete_webhook_api_v1_account_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/webhooks/{webhook_id}/test":{"post":{"tags":["automation"],"summary":"Test Webhook","operationId":"test_webhook_api_v1_account_webhooks__webhook_id__test_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Test Webhook Api V1 Account Webhooks  Webhook Id  Test Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/webhooks/{webhook_id}/deliveries":{"get":{"tags":["automation"],"summary":"Deliveries","operationId":"deliveries_api_v1_account_webhooks__webhook_id__deliveries_get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Deliveries Api V1 Account Webhooks  Webhook Id  Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage":{"get":{"tags":["billing"],"summary":"Usage","description":"Month-to-date (or a given month) usage, cost, and the spend cap.","operationId":"usage_api_v1_usage_get","parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Usage Api V1 Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage/export":{"get":{"tags":["billing"],"summary":"Export","description":"Download a month's usage as CSV detail or a PDF statement.","operationId":"export_api_v1_usage_export_get","parameters":[{"name":"format","in":"query","required":false,"schema":{"enum":["csv","pdf"],"type":"string","default":"csv","title":"Format"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/statements":{"get":{"tags":["billing"],"summary":"List Statements","operationId":"list_statements_api_v1_billing_statements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Statements Api V1 Billing Statements Get"}}}}}}},"/api/v1/billing/checkout":{"post":{"tags":["billing"],"summary":"Checkout","description":"Create a Stripe hosted Checkout Session for a statement balance (server-priced).","operationId":"checkout_api_v1_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Checkout Api V1 Billing Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/owed/checkout":{"post":{"tags":["billing"],"summary":"Owed Checkout","description":"A former Owner pays a statement of a closed account they owned (the one that blocks\na new account); only for an account that still has statements to pay.","operationId":"owed_checkout_api_v1_billing_owed_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwedCheckoutBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Owed Checkout Api V1 Billing Owed Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/owed/confirm":{"post":{"tags":["billing"],"summary":"Owed Confirm","description":"Return-page confirmation of the payment above; the same fulfilment path as the webhook.","operationId":"owed_confirm_api_v1_billing_owed_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Owed Confirm Api V1 Billing Owed Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/confirm":{"post":{"tags":["billing"],"summary":"Confirm","description":"Return-page confirmation; the same fulfilment path as the webhook.","operationId":"confirm_api_v1_billing_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Confirm Api V1 Billing Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/code":{"post":{"tags":["billing"],"summary":"Enter Code","description":"An Owner enters a referral or promo code; the server looks it up and prices with it.","operationId":"enter_code_api_v1_billing_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__billing__CodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Enter Code Api V1 Billing Code Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["billing"],"summary":"Remove Code","description":"Take the entered promo code off; the next payment is priced without it.","operationId":"remove_code_api_v1_billing_code_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Remove Code Api V1 Billing Code Delete"}}}}}}},"/api/v1/billing/autopay/setup":{"post":{"tags":["billing"],"summary":"Autopay Setup","description":"After the Owner confirms the authorization, create a hosted Checkout Session in setup\nmode to save a card; nothing is charged.","operationId":"autopay_setup_api_v1_billing_autopay_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Autopay Setup Api V1 Billing Autopay Setup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/autopay/confirm":{"post":{"tags":["billing"],"summary":"Autopay Confirm","description":"Return-page confirmation of a saved card; the same path as the webhook.","operationId":"autopay_confirm_api_v1_billing_autopay_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Autopay Confirm Api V1 Billing Autopay Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/autopay/cancel":{"post":{"tags":["billing"],"summary":"Autopay Cancel","description":"The Owner came back from Stripe without saving a card: drop that setup at once.","operationId":"autopay_cancel_api_v1_billing_autopay_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Autopay Cancel Api V1 Billing Autopay Cancel Post"}}}}}}},"/api/v1/billing/autopay":{"delete":{"tags":["billing"],"summary":"Autopay Off","description":"Turn automatic payment off.","operationId":"autopay_off_api_v1_billing_autopay_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Autopay Off Api V1 Billing Autopay Delete"}}}}}}},"/api/v1/stripe/webhook":{"post":{"tags":["billing"],"summary":"Stripe Webhook","description":"Stripe event destination: authenticated by its signature over the raw body.","operationId":"stripe_webhook_api_v1_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stripe Webhook Api V1 Stripe Webhook Post"}}}}}}},"/api/v1/support/tickets":{"get":{"tags":["support"],"summary":"List Tickets","operationId":"list_tickets_api_v1_support_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Tickets Api V1 Support Tickets Get"}}}}}},"post":{"tags":["support"],"summary":"Open Ticket","operationId":"open_ticket_api_v1_support_tickets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Open Ticket Api V1 Support Tickets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/abuse/reports":{"post":{"tags":["support"],"summary":"Report Abuse","description":"Public: report abuse seen from a Connect address (launch blocker D3).","operationId":"report_abuse_api_v1_abuse_reports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbuseBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Report Abuse Api V1 Abuse Reports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/accounts/lookup":{"post":{"tags":["admin"],"summary":"Find Account","description":"Look up an account by id, a member's email, or a gateway id from a ticket.\n\nA POST body keeps email out of URLs.","operationId":"find_account_api_v1_admin_accounts_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__v1__admin__LookupBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Find Account Api V1 Admin Accounts Lookup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/webhooks/{account_id}/{webhook_id}/deliveries":{"get":{"tags":["admin"],"summary":"Webhook Deliveries","description":"A customer endpoint's recent deliveries, with the reason each failed.","operationId":"webhook_deliveries_api_v1_admin_webhooks__account_id___webhook_id__deliveries_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Webhook Deliveries Api V1 Admin Webhooks  Account Id   Webhook Id  Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tokens/{account_id}/{token_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke Token","description":"Revoke a customer's API token (leaked or misused); the account owners are emailed.","operationId":"revoke_token_api_v1_admin_tokens__account_id___token_id__revoke_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Token Api V1 Admin Tokens  Account Id   Token Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/abuse-reports":{"get":{"tags":["admin"],"summary":"Abuse Reports","operationId":"abuse_reports_api_v1_admin_abuse_reports_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["open","resolved","all"],"type":"string","default":"open","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Abuse Reports Api V1 Admin Abuse Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/abuse-reports/{report_id}/resolve":{"post":{"tags":["admin"],"summary":"Resolve Abuse","operationId":"resolve_abuse_api_v1_admin_abuse_reports__report_id__resolve_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Abuse Api V1 Admin Abuse Reports  Report Id  Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/ip-history/{public_ip}":{"get":{"tags":["admin"],"summary":"Ip History","description":"Which account held a public IP, and when (all time, or at one UTC instant).","operationId":"ip_history_api_v1_admin_ip_history__public_ip__get","parameters":[{"name":"public_ip","in":"path","required":true,"schema":{"type":"string","title":"Public Ip"}},{"name":"at","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"","title":"At"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ip History Api V1 Admin Ip History  Public Ip  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gateways/{account_id}/{gateway_id}/retry":{"post":{"tags":["admin"],"summary":"Retry Gateway","description":"Resume a Failed gateway now (after the cause is fixed): reset its attempts.","operationId":"retry_gateway_api_v1_admin_gateways__account_id___gateway_id__retry_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retry Gateway Api V1 Admin Gateways  Account Id   Gateway Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/accounts/{account_id}/suspend":{"post":{"tags":["admin"],"summary":"Suspend","operationId":"suspend_api_v1_admin_accounts__account_id__suspend_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Suspend Api V1 Admin Accounts  Account Id  Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/accounts/{account_id}/reinstate":{"post":{"tags":["admin"],"summary":"Reinstate","operationId":"reinstate_api_v1_admin_accounts__account_id__reinstate_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reinstate Api V1 Admin Accounts  Account Id  Reinstate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/accounts/{account_id}/legal-hold":{"post":{"tags":["admin"],"summary":"Place Legal Hold","description":"Hold an account for legal reasons. Audited in the system log only: no entry in the\naccount's own log and no email, so the customer is not told.","operationId":"place_legal_hold_api_v1_admin_accounts__account_id__legal_hold_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Place Legal Hold Api V1 Admin Accounts  Account Id  Legal Hold Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/accounts/{account_id}/legal-hold/release":{"post":{"tags":["admin"],"summary":"Release Legal Hold","operationId":"release_legal_hold_api_v1_admin_accounts__account_id__legal_hold_release_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Release Legal Hold Api V1 Admin Accounts  Account Id  Legal Hold Release Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tickets":{"get":{"tags":["admin"],"summary":"Tickets","operationId":"tickets_api_v1_admin_tickets_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["open","closed","all"],"type":"string","default":"open","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Tickets Api V1 Admin Tickets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tickets/{account_id}/{ticket_id}":{"get":{"tags":["admin"],"summary":"Ticket","operationId":"ticket_api_v1_admin_tickets__account_id___ticket_id__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ticket Api V1 Admin Tickets  Account Id   Ticket Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tickets/{account_id}/{ticket_id}/reply":{"post":{"tags":["admin"],"summary":"Reply","operationId":"reply_api_v1_admin_tickets__account_id___ticket_id__reply_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reply Api V1 Admin Tickets  Account Id   Ticket Id  Reply Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tickets/{account_id}/{ticket_id}/close":{"post":{"tags":["admin"],"summary":"Close Ticket","operationId":"close_ticket_api_v1_admin_tickets__account_id___ticket_id__close_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Close Ticket Api V1 Admin Tickets  Account Id   Ticket Id  Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payment-exceptions":{"get":{"tags":["admin"],"summary":"Payment Exceptions","description":"Paid Stripe sessions that changed no state (contract v1: kept for staff review).","operationId":"payment_exceptions_api_v1_admin_payment_exceptions_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["open","resolved","all"],"type":"string","default":"open","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Payment Exceptions Api V1 Admin Payment Exceptions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payment-exceptions/{session_id}/resolve":{"post":{"tags":["admin"],"summary":"Resolve Payment Exception","description":"Record how a payment exception was settled (refund or manual credit happen in Stripe).","operationId":"resolve_payment_exception_api_v1_admin_payment_exceptions__session_id__resolve_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Payment Exception Api V1 Admin Payment Exceptions  Session Id  Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/mfa/reset":{"post":{"tags":["admin"],"summary":"Reset Mfa","description":"After identity is confirmed out of band: the user enrolls again and is emailed.","operationId":"reset_mfa_api_v1_admin_users__user_id__mfa_reset_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reset Mfa Api V1 Admin Users  User Id  Mfa Reset Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/lookup":{"post":{"tags":["deletion"],"summary":"Lookup","operationId":"lookup_api_deletion_v1_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__app__api__deletion__LookupBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Lookup Api Deletion V1 Lookup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/verify-proof":{"post":{"tags":["deletion"],"summary":"Verify Proof","operationId":"verify_proof_api_deletion_v1_verify_proof_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Proof Api Deletion V1 Verify Proof Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/summary":{"post":{"tags":["deletion"],"summary":"Summary","operationId":"summary_api_deletion_v1_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Summary Api Deletion V1 Summary Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/outstanding-balance":{"post":{"tags":["deletion"],"summary":"Outstanding Balance","operationId":"outstanding_balance_api_deletion_v1_outstanding_balance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Outstanding Balance Api Deletion V1 Outstanding Balance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/mark-settled":{"post":{"tags":["deletion"],"summary":"Mark Settled","operationId":"mark_settled_api_deletion_v1_mark_settled_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettleBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mark Settled Api Deletion V1 Mark Settled Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/execute-deletion":{"post":{"tags":["deletion"],"summary":"Execute Deletion","operationId":"execute_deletion_api_deletion_v1_execute_deletion_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Execute Deletion Api Deletion V1 Execute Deletion Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deletion/v1/status":{"post":{"tags":["deletion"],"summary":"Status","operationId":"status_api_deletion_v1_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Status Api Deletion V1 Status Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AbuseBody":{"properties":{"reported_ip":{"type":"string","maxLength":45,"minLength":3,"title":"Reported Ip"},"observed_at":{"type":"string","maxLength":40,"minLength":4,"title":"Observed At"},"description":{"type":"string","maxLength":5000,"minLength":20,"title":"Description"},"reporter_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Reporter Email"}},"type":"object","required":["reported_ip","observed_at","description"],"title":"AbuseBody"},"AcceptBody":{"properties":{"token":{"type":"string","maxLength":200,"minLength":20,"title":"Token"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false}},"type":"object","required":["token"],"title":"AcceptBody"},"AuthorizeBody":{"properties":{"authorize":{"type":"boolean","title":"Authorize","default":false}},"type":"object","title":"AuthorizeBody"},"CheckoutBody":{"properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Month"}},"type":"object","required":["month"],"title":"CheckoutBody"},"ClientBody":{"properties":{"split":{"type":"string","enum":["full","exclude_lan","custom"],"title":"Split","default":"full"},"exclude":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Exclude"},"extra_routes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Extra Routes"},"mtu":{"type":"integer","title":"Mtu","default":0},"keepalive":{"type":"integer","title":"Keepalive","default":25},"dns":{"type":"string","enum":["connect","none","custom"],"title":"Dns","default":"connect"},"dns_servers":{"items":{"type":"string"},"type":"array","maxItems":2,"title":"Dns Servers"}},"type":"object","title":"ClientBody"},"CloseBody":{"properties":{"confirm_name":{"type":"string","maxLength":80,"minLength":1,"title":"Confirm Name"}},"type":"object","required":["confirm_name"],"title":"CloseBody"},"ConfirmBody":{"properties":{"session_id":{"type":"string","maxLength":255,"minLength":4,"title":"Session Id"}},"type":"object","required":["session_id"],"title":"ConfirmBody"},"CreateAccountBody":{"properties":{"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"},"spend_cap_usd":{"type":"integer","maximum":10000.0,"minimum":5.0,"title":"Spend Cap Usd"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false}},"type":"object","required":["name","spend_cap_usd"],"title":"CreateAccountBody"},"CreateNetworkBody":{"properties":{"name":{"type":"string","maxLength":60,"minLength":2,"title":"Name"},"region":{"type":"string","maxLength":40,"minLength":2,"title":"Region"},"size":{"type":"string","maxLength":40,"minLength":2,"title":"Size"},"services":{"$ref":"#/components/schemas/Services","default":{"vpn":true,"proxy":false}},"ipv4_pool":{"type":"string","title":"Ipv4 Pool","default":"10.77.0.0/22"},"location_name":{"type":"string","maxLength":40,"title":"Location Name","default":""}},"type":"object","required":["name","region","size"],"title":"CreateNetworkBody"},"DnsBody":{"properties":{"protection":{"type":"string","title":"Protection","default":"standard"},"custom_upstreams":{"items":{"type":"string"},"type":"array","maxItems":2,"title":"Custom Upstreams"},"custom_tls_name":{"type":"string","maxLength":253,"title":"Custom Tls Name","default":""},"blocked_domains":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Blocked Domains"},"names":{"type":"boolean","title":"Names","default":true},"suffix":{"type":"string","maxLength":100,"title":"Suffix","default":"connect.internal"}},"type":"object","title":"DnsBody"},"EnrollBody":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"mode":{"type":"string","enum":["vpn","proxy","both"],"title":"Mode","default":"vpn"},"location_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Location Id"}},"type":"object","required":["name"],"title":"EnrollBody"},"ExecuteBody":{"properties":{"subject_id":{"type":"string","maxLength":100,"minLength":1,"title":"Subject Id"},"scope":{"type":"string","enum":["person","organisation"],"title":"Scope"},"request_id":{"type":"string","maxLength":200,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["subject_id","scope","request_id"],"title":"ExecuteBody"},"Group":{"properties":{"name":{"type":"string","maxLength":40,"minLength":1,"title":"Name"},"device_ids":{"items":{"type":"string"},"type":"array","maxItems":5000,"title":"Device Ids"}},"type":"object","required":["name"],"title":"Group"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InviteBody":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"role":{"type":"string","enum":["owner","member"],"title":"Role","default":"member"}},"type":"object","required":["email"],"title":"InviteBody"},"LocationBody":{"properties":{"name":{"type":"string","maxLength":40,"title":"Name","default":""},"region":{"type":"string","maxLength":40,"minLength":2,"title":"Region"},"size":{"type":"string","maxLength":40,"minLength":2,"title":"Size"}},"type":"object","required":["region","size"],"title":"LocationBody"},"OwedCheckoutBody":{"properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Month"},"account_id":{"type":"string","maxLength":64,"minLength":4,"title":"Account Id"}},"type":"object","required":["month","account_id"],"title":"OwedCheckoutBody"},"PolicyBody":{"properties":{"mode":{"type":"string","enum":["open","restricted"],"title":"Mode"},"groups":{"items":{"$ref":"#/components/schemas/Group"},"type":"array","title":"Groups"},"rules":{"items":{"$ref":"#/components/schemas/Rule"},"type":"array","title":"Rules"}},"type":"object","required":["mode"],"title":"PolicyBody"},"ProofBody":{"properties":{"subject_id":{"type":"string","maxLength":100,"minLength":1,"title":"Subject Id"},"proof":{"type":"string","maxLength":100,"minLength":1,"title":"Proof"}},"additionalProperties":false,"type":"object","required":["subject_id","proof"],"title":"ProofBody"},"ReasonBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":5,"title":"Reason"}},"type":"object","required":["reason"],"title":"ReasonBody"},"ReissueBody":{"properties":{"mode":{"anyOf":[{"type":"string","enum":["vpn","proxy","both"]},{"type":"null"}],"title":"Mode"},"location_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Location Id"}},"type":"object","title":"ReissueBody"},"ResetBody":{"properties":{"verification":{"type":"string","maxLength":300,"minLength":10,"title":"Verification"}},"type":"object","required":["verification"],"title":"ResetBody"},"RoleBody":{"properties":{"role":{"type":"string","enum":["owner","member"],"title":"Role"}},"type":"object","required":["role"],"title":"RoleBody"},"Rule":{"properties":{"from":{"type":"string","maxLength":40,"minLength":1,"title":"From"},"to":{"type":"string","maxLength":40,"minLength":1,"title":"To"},"ports":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Ports"}},"type":"object","required":["from","to"],"title":"Rule"},"ScopedBody":{"properties":{"subject_id":{"type":"string","maxLength":100,"minLength":1,"title":"Subject Id"},"scope":{"type":"string","enum":["person","organisation"],"title":"Scope"}},"additionalProperties":false,"type":"object","required":["subject_id","scope"],"title":"ScopedBody"},"Services":{"properties":{"vpn":{"type":"boolean","title":"Vpn","default":true},"proxy":{"type":"boolean","title":"Proxy","default":false}},"type":"object","title":"Services"},"SettleBody":{"properties":{"subject_id":{"type":"string","maxLength":100,"minLength":1,"title":"Subject Id"},"request_id":{"type":"string","maxLength":200,"minLength":1,"title":"Request Id"},"invoice_number":{"type":"string","maxLength":64,"minLength":1,"title":"Invoice Number"},"references":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"References"},"settled_through":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z$","title":"Settled Through"}},"additionalProperties":false,"type":"object","required":["subject_id","request_id","invoice_number","references","settled_through"],"title":"SettleBody"},"StatusBody":{"properties":{"subject_id":{"type":"string","maxLength":100,"minLength":1,"title":"Subject Id"},"request_id":{"type":"string","maxLength":200,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["subject_id","request_id"],"title":"StatusBody"},"TextBody":{"properties":{"text":{"type":"string","maxLength":5000,"minLength":2,"title":"Text"}},"type":"object","required":["text"],"title":"TextBody"},"TicketBody":{"properties":{"subject":{"type":"string","maxLength":120,"minLength":3,"title":"Subject"},"body":{"type":"string","maxLength":5000,"minLength":10,"title":"Body"}},"type":"object","required":["subject","body"],"title":"TicketBody"},"UpdateAccountBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":2},{"type":"null"}],"title":"Name"},"spend_cap_usd":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":5.0},{"type":"null"}],"title":"Spend Cap Usd"}},"type":"object","title":"UpdateAccountBody"},"UpdateBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"},"exit_via":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Exit Via"},"routes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Routes"},"client":{"anyOf":[{"$ref":"#/components/schemas/ClientBody"},{"type":"null"}]}},"type":"object","title":"UpdateBody"},"UpdateLocationBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Name"},"size":{"anyOf":[{"type":"string","maxLength":40,"minLength":2},{"type":"null"}],"title":"Size"},"exit_via":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Exit Via"},"listen_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Listen Port"},"keep_running":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Keep Running"}},"type":"object","title":"UpdateLocationBody"},"UpdateNetworkBody":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":2},{"type":"null"}],"title":"Name"},"size":{"anyOf":[{"type":"string","maxLength":40,"minLength":2},{"type":"null"}],"title":"Size"},"services":{"anyOf":[{"$ref":"#/components/schemas/Services"},{"type":"null"}]},"pool_prefix":{"anyOf":[{"type":"integer","maximum":26.0,"minimum":20.0},{"type":"null"}],"title":"Pool Prefix"},"ipv6_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ipv6 Enabled"},"key_lifetime_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Key Lifetime Days"},"dns":{"anyOf":[{"$ref":"#/components/schemas/DnsBody"},{"type":"null"}]}},"type":"object","title":"UpdateNetworkBody"},"UpdateWebhookBody":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":500,"minLength":9},{"type":"null"}],"title":"Url"},"events":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1},{"type":"null"}],"title":"Events"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"UpdateWebhookBody"},"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"},"WebhookBody":{"properties":{"url":{"type":"string","maxLength":500,"minLength":9,"title":"Url"},"events":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Events"}},"type":"object","required":["url","events"],"title":"WebhookBody"},"backend__app__api__deletion__LookupBody":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"},"scope":{"type":"string","enum":["person","organisation"],"title":"Scope"}},"additionalProperties":false,"type":"object","required":["email","scope"],"title":"LookupBody"},"backend__app__api__v1__accounts__TokenBody":{"properties":{"token":{"type":"string","maxLength":200,"minLength":20,"title":"Token"}},"type":"object","required":["token"],"title":"TokenBody"},"backend__app__api__v1__admin__LookupBody":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email","default":""},"account_id":{"type":"string","maxLength":40,"title":"Account Id","default":""},"gateway_id":{"type":"string","maxLength":40,"title":"Gateway Id","default":""}},"type":"object","title":"LookupBody"},"backend__app__api__v1__automation__TokenBody":{"properties":{"name":{"type":"string","maxLength":40,"minLength":1,"title":"Name"},"scope":{"type":"string","enum":["read","write"],"title":"Scope","default":"read"},"days":{"type":"integer","title":"Days","default":90}},"type":"object","required":["name"],"title":"TokenBody"},"backend__app__api__v1__billing__CodeBody":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"CodeBody"},"backend__app__api__v1__identity__CodeBody":{"properties":{"code":{"type":"string","maxLength":8,"minLength":6,"pattern":"^[0-9 ]+$","title":"Code"}},"type":"object","required":["code"],"title":"CodeBody"}}}}