{"components":{"schemas":{"ASCII":{"type":"string"},"AccessToken_ODIyMTczMjMw":{"properties":{"access_token":{"description":"The opaque access token string","type":"string"},"expires_in":{"description":"The number of seconds this token is valid","type":"integer"},"token_type":{"$ref":"#/components/schemas/TokenType_NTkyMzk4MjIz"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","access_token","token_type","expires_in"],"type":"object"},"AccountStatusResp_LTg2MTE1ODAz":{"properties":{"status":{"$ref":"#/components/schemas/AccountStatus_NzkzNDU1ODU5"}},"required":["status"],"type":"object"},"AccountStatusUpdate_NTE4Mzc0MTM3":{"properties":{"status":{"$ref":"#/components/schemas/AccountStatus_NzkzNDU1ODU5"}},"required":["status"],"type":"object"},"AccountStatus_NzkzNDU1ODU5":{"enum":["active","suspended","deleted","ephemeral","pending-invitation"],"type":"string"},"Alpha_LTE4NDUxNDQ4":{"description":"ISO 4217 alphabetic codes. This is only stored by the backend, not processed. It can be removed once billing supports currency changes after team creation.","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"],"example":"EUR","type":"string"},"AssetKey":{"description":"S3 asset key for an icon image with retention information.","example":"3-1-47de4580-ae51-4650-acbb-d10c028cb0ac","type":"string"},"AssetSize_OTAwMDA3ODY2":{"enum":["preview","complete"],"type":"string"},"Asset_LTIyMjc1NDEz":{"properties":{"key":{"$ref":"#/components/schemas/AssetKey"},"size":{"$ref":"#/components/schemas/AssetSize_OTAwMDA3ODY2"},"type":{"$ref":"#/components/schemas/MTYxOTI3NjM3"}},"required":["key","type"],"type":"object"},"Base64ByteString":{"example":"ZXhhbXBsZQo=","type":"string"},"BaseProtocolTag_LTM0MDE1NTEx":{"enum":["proteus","mls"],"type":"string"},"BindingNewTeamUser_LTY0MDQxMDEw":{"properties":{"currency":{"$ref":"#/components/schemas/Alpha_LTE4NDUxNDQ4"},"icon":{"$ref":"#/components/schemas/Icon"},"icon_key":{"description":"The decryption key for the team icon S3 asset","maxLength":256,"minLength":1,"type":"string"},"name":{"description":"team name","maxLength":256,"minLength":1,"type":"string"}},"required":["name","icon"],"type":"object"},"ClientCapabilityList":{"items":{"$ref":"#/components/schemas/ClientCapability_MTY2NDAzMjM3"},"type":"array"},"ClientCapability_MTY2NDAzMjM3":{"enum":["legalhold-implicit-consent","consumable-notifications"],"type":"string"},"ClientClass_NjE3MDgwNzcx":{"enum":["phone","tablet","desktop","legalhold"],"type":"string"},"ClientInfo_LTI4ODg0MTQ1":{"properties":{"id":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"mls":{"type":"boolean"},"mls_signature_key":{"example":"ZXhhbXBsZQo=","type":"string"}},"required":["id","mls"],"type":"object"},"ClientType_MjQ0OTQwMzcw":{"enum":["temporary","permanent","legalhold"],"type":"string"},"Client_MTM1OTcwOTQ1":{"properties":{"capabilities":{"$ref":"#/components/schemas/ClientCapabilityList"},"class":{"$ref":"#/components/schemas/ClientClass_NjE3MDgwNzcx"},"cookie":{"type":"string"},"id":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"label":{"type":"string"},"last_active":{"$ref":"#/components/schemas/UTCTime"},"mls_public_keys":{"$ref":"#/components/schemas/MLSPublicKeys"},"model":{"type":"string"},"time":{"$ref":"#/components/schemas/UTCTimeMillis"},"type":{"$ref":"#/components/schemas/ClientType_MjQ0OTQwMzcw"}},"required":["id","type","time"],"type":"object"},"ConferenceCallingConfigB_Covered_Identity_NDMwMjcyMzM1":{"properties":{"useSFTForOneToOneCalls":{"type":"boolean"}},"type":"object"},"ConnectionStatusV2_NDA4NDk3NDEw":{"properties":{"from":{"$ref":"#/components/schemas/UUID"},"qualified_to":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"status":{"$ref":"#/components/schemas/Relation_LTE4OTU5MTk4"}},"required":["from","qualified_to","status"],"type":"object"},"ConnectionStatus_LTE5MzQ3MTcw":{"properties":{"from":{"$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/Relation_LTE4OTU5MTk4"},"to":{"$ref":"#/components/schemas/UUID"}},"required":["from","to","status"],"type":"object"},"ConnectionsStatusRequestV2_NzUzNzg2NTA1":{"properties":{"from":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"relation":{"$ref":"#/components/schemas/Relation_LTE4OTU5MTk4"},"to":{"items":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"type":"array"}},"required":["from"],"type":"object"},"ConnectionsStatusRequest_ODg2NTYwMDQw":{"properties":{"from":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"to":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"required":["from"],"type":"object"},"CreateGroupInternalRequest_NDYzMDU0MDU5":{"properties":{"creator_user_id":{"$ref":"#/components/schemas/UUID"},"managed_by":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"new_group":{"$ref":"#/components/schemas/NewUserGroup_MzYxODU0OTU1"},"team_id":{"$ref":"#/components/schemas/UUID"}},"required":["managed_by","team_id","new_group"],"type":"object"},"Domain":{"example":"example.com","type":"string"},"DomainRedirectTag_LTY3NjU1MDEy":{"enum":["none","locked","sso","backend","no-registration","pre-authorized"],"type":"string"},"DomainRegistrationResponse_V10_MjE0NDkxODY4":{"properties":{"authorized_team":{"$ref":"#/components/schemas/UUID"},"backend":{"$ref":"#/components/schemas/HttpsUrl_Maybe_HttpsUrl_LTQ1MDkyMzY2"},"dns_verification_token":{"$ref":"#/components/schemas/ASCII"},"domain":{"$ref":"#/components/schemas/Domain"},"domain_redirect":{"$ref":"#/components/schemas/DomainRedirectTag_LTY3NjU1MDEy"},"sso_code":{"$ref":"#/components/schemas/UUID"},"team":{"$ref":"#/components/schemas/UUID"},"team_invite":{"$ref":"#/components/schemas/TeamInviteTag_LTQyNTMyNzA0"}},"required":["domain","domain_redirect","sso_code","backend","team_invite","team"],"type":"object"},"DomainRegistrationUpdate_LTQzNjU4ODA2":{"properties":{"backend":{"$ref":"#/components/schemas/HttpsUrl_Maybe_HttpsUrl_LTQ1MDkyMzY2"},"domain_redirect":{"$ref":"#/components/schemas/DomainRedirectTag_LTY3NjU1MDEy"},"sso_code":{"$ref":"#/components/schemas/UUID"},"team":{"$ref":"#/components/schemas/UUID"},"team_invite":{"$ref":"#/components/schemas/TeamInviteTag_LTQyNTMyNzA0"}},"required":["domain_redirect","sso_code","backend","team_invite","team"],"type":"object"},"EJPDContact_LTgwNDE1NDAy":{"properties":{"contact_item":{"$ref":"#/components/schemas/EJPDResponseItemLeaf_LTEyNTcxMjAx"},"contact_relation":{"$ref":"#/components/schemas/Relation_LTE4OTU5MTk4"}},"required":["contact_relation","contact_item"],"type":"object"},"EJPDConvInfo_NDgwMDIyMDAw":{"properties":{"conv_id":{"$ref":"#/components/schemas/Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5"},"conv_name":{"type":"string"}},"required":["conv_name","conv_id"],"type":"object"},"EJPDRequestBody_Mjc1MDE0NDAx":{"properties":{"EJPDRequest":{"items":{"$ref":"#/components/schemas/Handle"},"type":"array"}},"required":["EJPDRequest"],"type":"object"},"EJPDResponseBody_Nzc0MzMxNDc3":{"properties":{"EJPDResponse":{"items":{"$ref":"#/components/schemas/EJPDResponseItemRoot_NzU2Mjg1MDIx"},"type":"array"}},"required":["EJPDResponse"],"type":"object"},"EJPDResponseItemLeaf_LTEyNTcxMjAx":{"properties":{"Assets":{"items":{"type":"string"},"type":"array"},"Conversations":{"items":{"$ref":"#/components/schemas/EJPDConvInfo_NDgwMDIyMDAw"},"type":"array"},"Email":{"$ref":"#/components/schemas/Email"},"Handle":{"$ref":"#/components/schemas/Handle"},"Name":{"maxLength":128,"minLength":1,"type":"string"},"Phone":{"$ref":"#/components/schemas/PhoneNumber"},"PushTokens":{"items":{"type":"string"},"type":"array"},"TeamId":{"$ref":"#/components/schemas/UUID"},"UserId":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"}},"required":["UserId","Name","PushTokens"],"type":"object"},"EJPDResponseItemRoot_NzU2Mjg1MDIx":{"properties":{"Assets":{"items":{"type":"string"},"type":"array"},"Contacts":{"items":{"$ref":"#/components/schemas/EJPDContact_LTgwNDE1NDAy"},"type":"array"},"Conversations":{"items":{"$ref":"#/components/schemas/EJPDConvInfo_NDgwMDIyMDAw"},"type":"array"},"Email":{"$ref":"#/components/schemas/Email"},"Handle":{"$ref":"#/components/schemas/Handle"},"Name":{"maxLength":128,"minLength":1,"type":"string"},"Phone":{"$ref":"#/components/schemas/PhoneNumber"},"PushTokens":{"items":{"type":"string"},"type":"array"},"TeamContacts":{"$ref":"#/components/schemas/EJPDTeamContacts_LTI3MjE0NzY3"},"TeamId":{"$ref":"#/components/schemas/UUID"},"UserId":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"}},"required":["UserId","Name","PushTokens"],"type":"object"},"EJPDTeamContacts_LTI3MjE0NzY3":{"properties":{"ListType":{"$ref":"#/components/schemas/NewListType_ODkwNzA4MTM3"},"TeamContacts":{"items":{"$ref":"#/components/schemas/EJPDResponseItemLeaf_LTEyNTcxMjAx"},"type":"array"}},"required":["TeamContacts","ListType"],"type":"object"},"Email":{"type":"string"},"EmailUpdate_NjQ5MDg1OTY0":{"properties":{"email":{"$ref":"#/components/schemas/Email"}},"required":["email"],"type":"object"},"FeatureStatus_LTMzMTUwODEw":{"enum":["enabled","disabled"],"type":"string"},"Feature_ConferenceCallingConfigB_Bare_Identity_Njc2NTcxNTI3":{"properties":{"config":{"$ref":"#/components/schemas/ConferenceCallingConfigB_Covered_Identity_NDMwMjcyMzM1"},"status":{"$ref":"#/components/schemas/FeatureStatus_LTMzMTUwODEw"},"ttl":{"example":"unlimited","maximum":18446744073709551615,"minimum":0,"type":"integer"}},"required":["status"],"type":"object"},"FederatedUserSearchPolicy_MzkwODA4MTM3":{"enum":["no_search","exact_handle_search","full_search"],"type":"string"},"FederationDomainConfig_NjEwMTYyMTc0":{"properties":{"domain":{"$ref":"#/components/schemas/Domain"},"restriction":{"$ref":"#/components/schemas/FederationRestriction_MjA4OTQ1ODA4"},"search_policy":{"$ref":"#/components/schemas/FederatedUserSearchPolicy_MzkwODA4MTM3"}},"required":["domain","search_policy","restriction"],"type":"object"},"FederationDomainConfigs_MjMzMTYzMzQ1":{"description":"See https://docs.wire.com/understand/federation/backend-communication.html#configuring-remote-connections.","properties":{"remotes":{"items":{"$ref":"#/components/schemas/FederationDomainConfig_NjEwMTYyMTc0"},"type":"array"},"strategy":{"$ref":"#/components/schemas/FederationStrategy_LTQ4MjIxNTc5"},"update_interval":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["strategy","remotes","update_interval"],"type":"object"},"FederationRemoteTeam_LTcyMzQ1Njgx":{"properties":{"team_id":{"$ref":"#/components/schemas/UUID"}},"required":["team_id"],"type":"object"},"FederationRestrictionTag_LTY4NTIxNjkx":{"enum":["allow_all","restrict_by_team"],"type":"string"},"FederationRestriction_MjA4OTQ1ODA4":{"properties":{"tag":{"$ref":"#/components/schemas/FederationRestrictionTag_LTY4NTIxNjkx"},"value":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"required":["tag","value"],"type":"object"},"FederationStrategy_LTQ4MjIxNTc5":{"enum":["allowNone","allowAll","allowDynamic"],"type":"string"},"GetActivationCodeResp_LTM5OTcwODkw":{"properties":{"code":{"$ref":"#/components/schemas/ASCII"},"key":{"$ref":"#/components/schemas/ASCII"}},"required":["key","code"],"type":"object"},"GetBy_NzE2NDg3Njcx":{"properties":{"handles":{"items":{"$ref":"#/components/schemas/Handle"},"type":"array"},"ids":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"include_pending_invitations":{"$ref":"#/components/schemas/HavePendingInvitations_OTE3MTYyNTAw"},"include_users_with_expired_invitations":{"type":"boolean"},"include_users_without_identity":{"type":"boolean"}},"required":["include_pending_invitations","include_users_with_expired_invitations","include_users_without_identity","ids","handles"],"type":"object"},"GetPasswordResetCodeResp_NDQ4MTU1Njc5":{"properties":{"code":{"$ref":"#/components/schemas/ASCII"},"key":{"$ref":"#/components/schemas/ASCII"}},"required":["key","code"],"type":"object"},"GetRichInfoMultiResponse":{"description":"List of pairs of UserId and RichInfo"},"Handle":{"type":"string"},"HandleUpdate_NTI4NDk1OTAx":{"properties":{"handle":{"type":"string"}},"required":["handle"],"type":"object"},"HavePendingInvitations_OTE3MTYyNTAw":{"enum":[true,false],"type":"boolean"},"HttpsUrl":{"example":"https://example.com","type":"string"},"HttpsUrl_Maybe_HttpsUrl_LTQ1MDkyMzY2":{"properties":{"config_url":{"$ref":"#/components/schemas/HttpsUrl"},"webapp_url":{"$ref":"#/components/schemas/HttpsUrl"}},"required":["config_url"],"type":"object"},"Icon":{"description":"S3 asset key for an icon image with retention information. Allows special value 'default'.","example":"3-1-47de4580-ae51-4650-acbb-d10c028cb0ac","type":"string"},"IdPConfig_WireIdP_NDA5MTE4Mjk0":{"properties":{"extraInfo":{"$ref":"#/components/schemas/WireIdP_ODMzOTExMzYw"},"id":{"$ref":"#/components/schemas/URI"},"metadata":{"$ref":"#/components/schemas/IdPMetadata_MTI3NzE4MTA0"}},"required":["id","metadata","extraInfo"],"type":"object"},"IdPMetadata_MTI3NzE4MTA0":{"properties":{"certAuthnResponse":{"items":{"$ref":"#/components/schemas/SignedCertificate"},"minItems":1,"type":"array"},"issuer":{"$ref":"#/components/schemas/URI"},"requestURI":{"type":"string"}},"required":["issuer","requestURI","certAuthnResponse"],"type":"object"},"Id_IdTag_User_IdPConfig_WireIdP_LTgyMDE1NzMz":{"properties":{"idp":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","idp"],"type":"object"},"Id_Tag_User_PConfiW_MTM1Mjk5NzY3":{"properties":{"new":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"old":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","old","new"],"type":"object"},"IdpChangedNotificationTag_NTcwNjc4MzY3":{"enum":["created","deleted","updated"],"type":"string"},"IdpChangedNotification_LTU0NjAxMjk0":{"properties":{"tag":{"$ref":"#/components/schemas/IdpChangedNotificationTag_NTcwNjc4MzY3"},"value":{"properties":{"idp":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"new":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"old":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["idp","user","old","new"],"type":"object"}},"required":["tag","value"],"type":"object"},"InvitationCode_MjU5MjY0NzQ0":{"properties":{"code":{"$ref":"#/components/schemas/ASCII"}},"required":["code"],"type":"object"},"Invitation_NTkzMDYwODc1":{"description":"An invitation to join a team on Wire. If invitee is invited from an existing personal account, inviter email is included.","properties":{"created_at":{"$ref":"#/components/schemas/UTCTimeMillis"},"created_by":{"$ref":"#/components/schemas/UUID"},"email":{"$ref":"#/components/schemas/Email"},"id":{"$ref":"#/components/schemas/UUID"},"name":{"description":"Name of the invitee (1 - 128 characters)","maxLength":128,"minLength":1,"type":"string"},"role":{"$ref":"#/components/schemas/Role_LTIzMjAzMjky"},"team":{"$ref":"#/components/schemas/UUID"},"url":{"$ref":"#/components/schemas/URIRef_Absolute"}},"required":["team","id","created_at","email"],"type":"object"},"KeyMap_Value_MzAxODEwOTgx":{"type":"object"},"KeyValuePair_LTUzODIxMDIw":{"properties":{"code":{"$ref":"#/components/schemas/ASCII"},"key":{"$ref":"#/components/schemas/ASCII"}},"required":["key","code"],"type":"object"},"LegalHoldClientRequest_ODY0NjEwNjEw":{"properties":{"last_prekey":{"$ref":"#/components/schemas/UncheckedPrekeyBundle_LTU1MzQzOTgy"},"requester":{"$ref":"#/components/schemas/UUID"}},"required":["requester","last_prekey"],"type":"object"},"LegalHoldLogin_ODkzMTIzMjEy":{"properties":{"label":{"type":"string"},"password":{"maxLength":1024,"minLength":6,"type":"string"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user"],"type":"object"},"Locale":{"type":"string"},"LocaleUpdate_LTgzNjgyOTEw":{"properties":{"locale":{"$ref":"#/components/schemas/Locale"}},"required":["locale"],"type":"object"},"LoginCode":{"type":"string"},"MLSPublicKeys":{"additionalProperties":{"example":"ZXhhbXBsZQo=","type":"string"},"description":"Mapping from signature scheme (tags) to public key data","example":{"ecdsa_secp256r1_sha256":"ZXhhbXBsZQo=","ecdsa_secp384r1_sha384":"ZXhhbXBsZQo=","ecdsa_secp521r1_sha512":"ZXhhbXBsZQo=","ed25519":"ZXhhbXBsZQo="},"type":"object"},"MTYxOTI3NjM3":{"enum":["image"],"type":"string"},"ManagedByUpdate_LTU3ODM2NDg2":{"properties":{"managed_by":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"}},"required":["managed_by"],"type":"object"},"ManagedBy_NTI0ODc0NTQx":{"enum":["wire","scim"],"type":"string"},"Maybe_Id_IdTag_User_IdPConfig_WireIdP_LTQ0NDUxMzMx":{"properties":{"idp":{"$ref":"#/components/schemas/IdPConfig_WireIdP_NDA5MTE4Mjk0"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["idp"],"type":"object"},"NameUpdate_ODAzNzI5NTY1":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"NewClient_ODg1NjY4Njgy":{"properties":{"capabilities":{"$ref":"#/components/schemas/ClientCapabilityList"},"class":{"$ref":"#/components/schemas/ClientClass_NjE3MDgwNzcx"},"cookie":{"description":"The cookie label, i.e. the label used when logging in.","type":"string"},"label":{"type":"string"},"lastkey":{"$ref":"#/components/schemas/UncheckedPrekeyBundle_LTU1MzQzOTgy"},"mls_public_keys":{"$ref":"#/components/schemas/MLSPublicKeys"},"model":{"type":"string"},"password":{"description":"The password of the authenticated user for verification. Note: Required for registration of the 2nd, 3rd, ... client.","maxLength":1024,"minLength":6,"type":"string"},"prekeys":{"description":"Prekeys for other clients to establish OTR sessions.","items":{"$ref":"#/components/schemas/UncheckedPrekeyBundle_LTU1MzQzOTgy"},"type":"array"},"type":{"$ref":"#/components/schemas/ClientType_MjQ0OTQwMzcw"},"verification_code":{"$ref":"#/components/schemas/ASCII"}},"required":["prekeys","lastkey","type"],"type":"object"},"NewListType_ODkwNzA4MTM3":{"enum":["list_complete","list_truncated"],"type":"string"},"NewUserGroup_MzYxODU0OTU1":{"properties":{"members":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"name":{"maxLength":4000,"minLength":1,"type":"string"}},"required":["name","members"],"type":"object"},"NewUserScimInvitation_LTE4NzY5NTcy":{"properties":{"email":{"$ref":"#/components/schemas/Email"},"external_id":{"type":"string"},"locale":{"$ref":"#/components/schemas/Locale"},"name":{"maxLength":128,"minLength":1,"type":"string"},"role":{"$ref":"#/components/schemas/Role_LTIzMjAzMjky"},"team_id":{"$ref":"#/components/schemas/UUID"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["team_id","user_id","external_id","name","email","role"],"type":"object"},"NewUserSpar_Mzk5MTI0OTgx":{"properties":{"newUserSparDisplayName":{"maxLength":128,"minLength":1,"type":"string"},"newUserSparHandle":{"$ref":"#/components/schemas/Handle"},"newUserSparLocale":{"$ref":"#/components/schemas/Locale"},"newUserSparManagedBy":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"newUserSparRichInfo":{"$ref":"#/components/schemas/RichInfo"},"newUserSparRole":{"$ref":"#/components/schemas/Role_LTIzMjAzMjky"},"newUserSparSSOId":{"$ref":"#/components/schemas/UserSSOId"},"newUserSparTeamId":{"$ref":"#/components/schemas/UUID"},"newUserSparUUID":{"$ref":"#/components/schemas/UUID"}},"required":["newUserSparUUID","newUserSparSSOId","newUserSparDisplayName","newUserSparTeamId","newUserSparManagedBy","newUserSparRole"],"type":"object"},"NewUser_PlainTextPassword_8_LTI4MzI5NzQx":{"properties":{"accent_id":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"assets":{"items":{"$ref":"#/components/schemas/Asset_LTIyMjc1NDEz"},"type":"array"},"email":{"$ref":"#/components/schemas/Email"},"email_code":{"$ref":"#/components/schemas/ASCII"},"expires_in":{"maximum":604800,"minimum":1,"type":"integer"},"invitation_code":{"$ref":"#/components/schemas/ASCII"},"label":{"type":"string"},"locale":{"$ref":"#/components/schemas/Locale"},"managed_by":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"name":{"maxLength":128,"minLength":1,"type":"string"},"password":{"maxLength":1024,"minLength":8,"type":"string"},"picture":{"$ref":"#/components/schemas/Pict_DEPRECATED_USE_ASSETS_INSTEAD"},"sso_id":{"$ref":"#/components/schemas/UserSSOId"},"supported_protocols":{"items":{"$ref":"#/components/schemas/BaseProtocolTag_LTM0MDE1NTEx"},"type":"array"},"team":{"$ref":"#/components/schemas/BindingNewTeamUser_LTY0MDQxMDEw"},"team_code":{"$ref":"#/components/schemas/ASCII"},"team_id":{"$ref":"#/components/schemas/UUID"},"uuid":{"$ref":"#/components/schemas/UUID"}},"required":["name"],"type":"object"},"OAuthClientConfig_LTgzOTAwNjU1":{"properties":{"application_name":{"description":"The name of the application. This will be shown to the user when they are asked to authorize the application. The name must be between 6 and 256 characters long.","maxLength":256,"minLength":6,"type":"string"},"redirect_url":{"$ref":"#/components/schemas/RedirectUrl"}},"required":["application_name","redirect_url"],"type":"object"},"OAuthClientCredentials_NTg1NDc5MjE2":{"properties":{"client_id":{"$ref":"#/components/schemas/UUID"},"client_secret":{"$ref":"#/components/schemas/OAuthClientPlainTextSecret"}},"required":["client_id","client_secret"],"type":"object"},"OAuthClientPlainTextSecret":{"description":"The secret of the application.","type":"string"},"OAuthClient_NzExMTI5NTIy":{"properties":{"application_name":{"maxLength":256,"minLength":6,"type":"string"},"client_id":{"$ref":"#/components/schemas/UUID"},"redirect_url":{"$ref":"#/components/schemas/RedirectUrl"}},"required":["client_id","application_name","redirect_url"],"type":"object"},"PendingLoginCode_LTk3OTI3MTYw":{"properties":{"code":{"$ref":"#/components/schemas/LoginCode"},"expires_in":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"}},"required":["code","expires_in"],"type":"object"},"PhoneNumber":{"description":"E.164 phone number","type":"string"},"Pict_DEPRECATED_USE_ASSETS_INSTEAD":{"items":{"type":"object"},"maxItems":10,"minItems":0,"type":"array"},"Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5":{"properties":{"domain":{"$ref":"#/components/schemas/Domain"},"id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","id"],"type":"object"},"Qualified_Id_IdTag_User_LTQ1NTIwNDM1":{"properties":{"domain":{"$ref":"#/components/schemas/Domain"},"id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","id"],"type":"object"},"ReAuthUser_Nzk5NDU0Njc4":{"properties":{"action":{"$ref":"#/components/schemas/VerificationAction_LTU0MzYxNzUz"},"password":{"maxLength":1024,"minLength":6,"type":"string"},"verification_code":{"$ref":"#/components/schemas/ASCII"}},"type":"object"},"RedirectUrl":{"type":"string"},"Relation_LTE4OTU5MTk4":{"enum":["accepted","blocked","pending","ignored","sent","cancelled","missing-legalhold-consent"],"type":"string"},"RichField_LTgwMzc0MTg2":{"properties":{"type":{"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},"RichInfo":{"description":"json object with case-insensitive fields.","properties":{"urn:ietf:params:scim:schemas:extension:wire:1.0:User":{"additionalProperties":{"type":"string"},"type":"object"},"urn:wire:scim:schemas:profile:1.0":{"$ref":"#/components/schemas/RichInfoAssocList"}},"required":["urn:ietf:params:scim:schemas:extension:wire:1.0:User","urn:wire:scim:schemas:profile:1.0"],"type":"object"},"RichInfoAssocList":{"description":"json object with case-insensitive fields.","properties":{"fields":{"items":{"$ref":"#/components/schemas/RichField_LTgwMzc0MTg2"},"type":"array"},"version":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["version","fields"],"type":"object"},"RichInfoUpdate_NTI5MjI1MTgy":{"properties":{"rich_info":{"$ref":"#/components/schemas/RichInfoAssocList"}},"required":["rich_info"],"type":"object"},"Role_LTIzMjAzMjky":{"enum":["owner","admin","member","partner"],"type":"string"},"ServiceRef_LTgxMjY3NzAz":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"provider":{"$ref":"#/components/schemas/UUID"}},"required":["id","provider"],"type":"object"},"SignedCertificate":{"type":"string"},"SsoLogin_LTQxOTUzODk5":{"properties":{"label":{"type":"string"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user"],"type":"object"},"TeamExportUser_LTgyMjAxMzg2":{"properties":{"created_on":{"$ref":"#/components/schemas/UTCTimeMillis"},"display_name":{"maxLength":128,"minLength":1,"type":"string"},"email":{"$ref":"#/components/schemas/Email"},"handle":{"$ref":"#/components/schemas/Handle"},"idp_issuer":{"$ref":"#/components/schemas/HttpsUrl"},"invited_by":{"$ref":"#/components/schemas/Handle"},"last_active":{"$ref":"#/components/schemas/UTCTime"},"managed_by":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"num_devices":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"role":{"$ref":"#/components/schemas/Role_LTIzMjAzMjky"},"saml_name_id":{"type":"string"},"scim_external_id":{"type":"string"},"scim_rich_info":{"$ref":"#/components/schemas/RichInfo"},"status":{"$ref":"#/components/schemas/AccountStatus_NzkzNDU1ODU5"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["display_name","managed_by","saml_name_id","scim_external_id","user_id","num_devices"],"type":"object"},"TeamInviteTag_LTQyNTMyNzA0":{"enum":["allowed","not-allowed","team"],"type":"string"},"TeamSize_LTMzMzk2MTk1":{"description":"Team member counts broken down by user type.","properties":{"teamSize":{"description":"Total team members (teamSizeRegulars + teamSizeApps).","exclusiveMinimum":false,"minimum":0,"type":"integer"},"teamSizeApps":{"description":"Number of apps in team.","exclusiveMinimum":false,"minimum":0,"type":"integer"},"teamSizeRegulars":{"description":"Number of regular users in team.","exclusiveMinimum":false,"minimum":0,"type":"integer"}},"required":["teamSizeRegulars","teamSizeApps"],"type":"object"},"TeamStatus_SearchVisibilityInboundConfig_LTI0ODY3Njgx":{"properties":{"status":{"$ref":"#/components/schemas/FeatureStatus_LTMzMTUwODEw"},"team":{"$ref":"#/components/schemas/UUID"}},"required":["team","status"],"type":"object"},"TokenType_NTkyMzk4MjIz":{"enum":["Bearer"],"type":"string"},"URI":{"type":"string"},"URIRef_Absolute":{"description":"URL of the invitation link to be sent to the invitee","type":"string"},"UTCTime":{"example":"2021-05-12T10:52:02Z","format":"yyyy-mm-ddThh:MM:ssZ","type":"string"},"UTCTimeMillis":{"example":"2021-05-12T10:52:02.671Z","format":"yyyy-mm-ddThh:MM:ss.qqqZ","type":"string"},"UUID":{"example":"99db9768-04e3-4b5d-9268-831b6a25c4ab","format":"uuid","type":"string"},"UncheckedPrekeyBundle_LTU1MzQzOTgy":{"properties":{"id":{"maximum":65535,"minimum":0,"type":"integer"},"key":{"type":"string"}},"required":["id","key"],"type":"object"},"UpdateConnectionsInternalTag_MjY3OTg2MDA0":{"enum":["BlockForMissingLHConsent","RemoveLHBlocksInvolving","CreateConnectionForTest"],"type":"string"},"UpdateConnectionsInternal_ODM2NjkxODE2":{"properties":{"other":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"others":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"tag":{"$ref":"#/components/schemas/UpdateConnectionsInternalTag_MjY3OTg2MDA0"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["tag","user","others","other"],"type":"object"},"UpdateGroupInternalRequest_NjU3ODA4MTg5":{"properties":{"group_id":{"$ref":"#/components/schemas/UUID"},"members":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"name":{"maxLength":4000,"minLength":1,"type":"string"},"team_id":{"$ref":"#/components/schemas/UUID"}},"required":["team_id","group_id"],"type":"object"},"UserClients":{"additionalProperties":{"items":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"type":"array"},"description":"Map of user id to list of client ids.","example":{"1d51e2d6-9c70-605f-efc8-ff85c3dabdc7":["60f85e4b15ad3786","6e323ab31554353b"]},"type":"object"},"UserClientsFull":{"description":"Dictionary object of `Client` objects indexed by `UserId`.","example":"{\"1355c55a-0ac8-11ee-97ee-db1a6351f093\": <Client object>, ...}","type":"object"},"UserGroupPage_UserGroup_Identity_NTM4OTc3MDky":{"description":"This is the last page if it contains fewer rows than requested. There may be 0 rows on a page.","properties":{"page":{"items":{"$ref":"#/components/schemas/UserGroup_Identity_NTg4MTY1MjEx"},"type":"array"},"total":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["page","total"],"type":"object"},"UserGroup_Identity_NTg4MTY1MjEx":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5"},"type":"array"},"channelsCount":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"createdAt":{"$ref":"#/components/schemas/UTCTimeMillis"},"id":{"$ref":"#/components/schemas/UUID"},"managedBy":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"members":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"membersCount":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"name":{"maxLength":4000,"minLength":1,"type":"string"}},"required":["id","name","members","managedBy","createdAt"],"type":"object"},"UserIds_NTM1MzkyNTQ2":{"properties":{"ids":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"required":["ids"],"type":"object"},"UserSSOId":{"properties":{"scim_external_id":{"type":"string"},"subject":{"type":"string"},"tenant":{"type":"string"}},"type":"object"},"UserSet_MjQ1NDE3Nzc5":{"properties":{"users":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"required":["users"],"type":"object"},"UserType_LTU1OTU4OTM5":{"enum":["regular","app","bot"],"type":"string"},"User_NjA4OTQwMTQ4":{"properties":{"accent_id":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"assets":{"items":{"$ref":"#/components/schemas/Asset_LTIyMjc1NDEz"},"type":"array"},"deleted":{"type":"boolean"},"email":{"$ref":"#/components/schemas/Email"},"email_unvalidated":{"$ref":"#/components/schemas/Email"},"expires_at":{"$ref":"#/components/schemas/UTCTimeMillis"},"handle":{"$ref":"#/components/schemas/Handle"},"id":{"$ref":"#/components/schemas/UUID"},"locale":{"$ref":"#/components/schemas/Locale"},"managed_by":{"$ref":"#/components/schemas/ManagedBy_NTI0ODc0NTQx"},"name":{"maxLength":128,"minLength":1,"type":"string"},"picture":{"$ref":"#/components/schemas/Pict_DEPRECATED_USE_ASSETS_INSTEAD"},"qualified_id":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"searchable":{"type":"boolean"},"service":{"$ref":"#/components/schemas/ServiceRef_LTgxMjY3NzAz"},"sso_id":{"$ref":"#/components/schemas/UserSSOId"},"status":{"$ref":"#/components/schemas/AccountStatus_NzkzNDU1ODU5"},"supported_protocols":{"items":{"$ref":"#/components/schemas/BaseProtocolTag_LTM0MDE1NTEx"},"type":"array"},"team":{"$ref":"#/components/schemas/UUID"},"text_status":{"maxLength":256,"minLength":1,"type":"string"},"type":{"$ref":"#/components/schemas/UserType_LTU1OTU4OTM5"}},"required":["qualified_id","type","name","accent_id","status","locale"],"type":"object"},"VerificationAction_LTU0MzYxNzUz":{"enum":["create_scim_token","login","delete_team"],"type":"string"},"WireIdPAPIVersion_NTEyMzIwNTU3":{"enum":["WireIdPAPIV1","WireIdPAPIV2"],"type":"string"},"WireIdP_ODMzOTExMzYw":{"properties":{"apiVersion":{"enum":["WireIdPAPIV1","WireIdPAPIV2"],"type":"string"},"domain":{"type":"string"},"handle":{"type":"string"},"oldIssuers":{"items":{"$ref":"#/components/schemas/URI"},"type":"array"},"replacedBy":{"type":"string"},"team":{"$ref":"#/components/schemas/UUID"}},"required":["team","apiVersion","oldIssuers","replacedBy","handle","domain"],"type":"object"}},"securitySchemes":{"ZAuth":{"description":"Must be a token retrieved by calling 'POST /login' or 'POST /access'. It must be presented in this format: 'Bearer \\<token\\>'.","in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"To have access to this *internal* endpoint, create a port forwarding to `brig` into the Kubernetes cluster. E.g.:\n```\nkubectl port-forward -n wire service/brig 9082:8080\n```\n**N.B.:** Execution via this UI won't work due to CORS issues. But, the proposed `curl` commands will.\n","title":"Wire-Server Internal API (brig)","version":""},"openapi":"3.0.0","paths":{"/i/clients":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iListClients\"]\n\n","operationId":"iListClients","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserSet_MjQ1NDE3Nzc5"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserClients"}}},"description":""}},"tags":["brig"]}},"/i/clients/full":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iListClientsFull\"]\n\n","operationId":"iListClientsFull","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserSet_MjQ1NDE3Nzc5"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserClientsFull"}}},"description":""}},"tags":["brig"]}},"/i/clients/legalhold/{uid}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iLegalholdDeleteClient\"]\n\n","operationId":"iLegalholdDeleteClient","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"This endpoint can lead to the following events being sent: ClientRemoved event to the user; UserLegalHoldDisabled event to contacts of the user","tags":["brig"]}},"/i/clients/legalhold/{uid}/request":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iLegalholdAddClient\"]\n\n","operationId":"iLegalholdAddClient","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LegalHoldClientRequest_ODY0NjEwNjEw"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"This endpoint can lead to the following events being sent: LegalHoldClientRequested event to contacts of the user","tags":["brig"]}},"/i/clients/{uid}":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iAddClient\"]\n\n","operationId":"iAddClient","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"skip_reauth","required":false,"schema":{"type":"boolean"}},{"in":"header","name":"Z-Connection","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/NewClient_ODg1NjY4Njgy"}}},"required":true},"responses":{"201":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Client_MTM1OTcwOTQ1"}}},"description":""}},"summary":"This endpoint can lead to the following events being sent: ClientAdded event to the user; ClientRemoved event to the user, if removing old clients due to max number of clients; UserLegalHoldEnabled event to contacts of the user, if client type is legalhold.","tags":["brig"]}},"/i/clients/{uid}/{client}/activity":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-client-last-active\"]\n\n","operationId":"update-client-last-active","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"client","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"summary":"Update last_active field of a client","tags":["brig"]}},"/i/connections/connection-update":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iConnectionUpdate\"]\n\n","operationId":"iConnectionUpdate","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UpdateConnectionsInternal_ODM2NjkxODE2"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/domain-registration/{domain}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-delete\"]\n\nThis deletes the entry in the domain table, making the domain available to be registered from scratch again. This also means that the domain is removed from the deny-list and is not pre-authorized.","operationId":"domain-registration-delete","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Deletes a domain","tags":["brig"]},"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-get\"]\n\nReturns the current entry in the domain table for that domain, as a JSON document","operationId":"domain-registration-get","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/DomainRegistrationResponse_V10_MjE0NDkxODY4"}}},"description":""}},"summary":"Returns the current entry in the domain table for that domain","tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-update\"]\n\nThis creates or updates the entry in the email domain registration table for that domain with the given configuration. This is the most flexible endpoint, that can set any arbitrary value, to deal with edge cases in the process.","operationId":"domain-registration-update","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/DomainRegistrationUpdate_LTQzNjU4ODA2"}}},"required":true},"responses":{"204":{"description":""}},"summary":"Updates a domain","tags":["brig"]}},"/i/domain-registration/{domain}/lock":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-lock\"]\n\nThis creates an entry in the email domain registration table with domain-redirect=locked and team-invites=allowed. Any previous entry for that domain is overwritten.","operationId":"domain-registration-lock","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Adds a domain to the Deny-list","tags":["brig"]}},"/i/domain-registration/{domain}/preauthorize":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-pre-authorize\"]\n\nIf the domain-redirect value for that domain is none, or if there is no entry for that domain, this will set the status of the domain-redirect to pre-authorized. `team-invitation` is not altered (if the entry is missing, it will be set to allowed). This means that the customer claiming this domain has the necessary commercial contract with Wire and can continue to register the domain on their own.","operationId":"domain-registration-pre-authorize","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Pre-authorizes a domain","tags":["brig"]}},"/i/domain-registration/{domain}/unauthorize":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-unauthorize\"]\n\nIf the domain-redirect value for that domain is `pre-authorized`, `backend:{url}` or `no-registration`, this will set it to none. Returns an error otherwise. Does not modify the `team-invites` value nor creates an entry if it's missing.","operationId":"domain-registration-unauthorize","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Un-authorizes a domain","tags":["brig"]}},"/i/domain-registration/{domain}/unlock":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"domain-registration-unlock\"]\n\nIf the domain-redirect value for that domain is locked, it will be set to none. Otherwise this results in and error. Does not modify the team-invites value and does not create an entry if it's missing.","operationId":"domain-registration-unlock","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Unlocks a domain","tags":["brig"]}},"/i/ejpd-request":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"ejpd-request\"]\n\n","operationId":"ejpd-request","parameters":[{"description":"Also provide information about all contacts of the identified users","in":"query","name":"include_contacts","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EJPDRequestBody_Mjc1MDE0NDAx"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EJPDResponseBody_Nzc0MzMxNDc3"}}},"description":""}},"summary":"Identify users for law enforcement.  Wire has legal requirements to cooperate with the authorities.  The wire backend operations team uses this to answer identification requests manually.  It is our best-effort representation of the minimum required information we need to hand over about targets and (in some cases) their communication peers.  For more information, consult ejpd.admin.ch.","tags":["brig"]}},"/i/federation/remotes":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-federation-remotes\"]\n\nSee https://docs.wire.com/understand/federation/backend-communication.html#configuring-remote-connections for background. ","operationId":"get-federation-remotes","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/FederationDomainConfigs_MjMzMTYzMzQ1"}}},"description":""}},"tags":["brig"]},"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"add-federation-remotes\"]\n\nSee https://docs.wire.com/understand/federation/backend-communication.html#configuring-remote-connections for background. ","operationId":"add-federation-remotes","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/FederationDomainConfig_NjEwMTYyMTc0"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/federation/remotes/{domain}":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-federation-remotes\"]\n\nSee https://docs.wire.com/understand/federation/backend-communication.html#configuring-remote-connections for background. ","operationId":"update-federation-remotes","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/FederationDomainConfig_NjEwMTYyMTc0"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/federation/remotes/{domain}/teams":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-federation-remote-teams\"]\n\nGet a list of teams from a remote domain that our backend is allowed to federate with.","operationId":"get-federation-remote-teams","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/FederationRemoteTeam_LTcyMzQ1Njgx"},"type":"array"}}},"description":""}},"tags":["brig"]},"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"add-federation-remote-team\"]\n\nAdd a remote team to the list of teams that are allowed to federate with our domain","operationId":"add-federation-remote-team","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/FederationRemoteTeam_LTcyMzQ1Njgx"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/federation/remotes/{domain}/teams/{team}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"delete-federation-remote-team\"]\n\nRemove a remote team from the list of teams that are allowed to federate with our domain","operationId":"delete-federation-remote-team","parameters":[{"in":"path","name":"domain","required":true,"schema":{"type":"string"}},{"in":"path","name":"team","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/handles/{handle}":{"head":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iHeadHandle\"]\n\n","operationId":"iHeadHandle","parameters":[{"in":"path","name":"handle","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CheckHandleResponseFound"},"400":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":400,"label":"invalid-handle","message":"The given handle is invalid (less than 2 or more than 256 characters; chars not in \"a-z0-9_.-\"; or on the blocklist)"},"properties":{"code":{"enum":[400],"type":"integer"},"label":{"enum":["invalid-handle"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"The given handle is invalid (less than 2 or more than 256 characters; chars not in \"a-z0-9_.-\"; or on the blocklist) (label: `invalid-handle`)"},"404":{"description":"`handle` or CheckHandleResponseNotFound"}},"tags":["brig"]}},"/i/idp/send-idp-changed-email":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"send-idp-changed-email\"]\n\n","operationId":"send-idp-changed-email","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/IdpChangedNotification_LTU0NjAxMjk0"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"summary":"Send an email about IdP creation, deletion or update to all team admins and owners","tags":["brig"]}},"/i/index/refresh":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"indexRefresh\"]\n\n","operationId":"indexRefresh","responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"make index updates visible (e.g. for integration testing)","tags":["brig"]}},"/i/index/update/{userId}":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-search-index\"]\n\n","operationId":"update-search-index","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"updates the search index for a single user","tags":["brig"]}},"/i/legalhold-login":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"legalhold-login\"]\n\n","operationId":"legalhold-login","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LegalHoldLogin_ODkzMTIzMjEy"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessToken_ODIyMTczMjMw"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/AccessToken_ODIyMTczMjMw"}}},"description":"OK","headers":{"Set-Cookie":{"schema":{"type":"string"}}}}},"tags":["brig"]}},"/i/mls/client/{user}/{client}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-mls-client\"]\n\n","operationId":"get-mls-client","parameters":[{"in":"path","name":"user","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"client","required":true,"schema":{"type":"string"}},{"in":"query","name":"ciphersuite","required":true,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientInfo_LTI4ODg0MTQ1"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientInfo_LTI4ODg0MTQ1"}}},"description":"MLS client"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"User not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`user` or `client` not found\n\nUser not found (label: `not-found`)"}},"summary":"Return information on a single MLS client","tags":["brig"]}},"/i/mls/clients/{user}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-mls-clients\"]\n\n","operationId":"get-mls-clients","parameters":[{"in":"path","name":"user","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"ciphersuite","required":true,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClientInfo_LTI4ODg0MTQ1"},"type":"array","uniqueItems":true}},"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/ClientInfo_LTI4ODg0MTQ1"},"type":"array","uniqueItems":true}}},"description":"MLS clients"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"User not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`user` not found\n\nUser not found (label: `not-found`)"}},"summary":"Return all clients and all MLS-capable clients of a user","tags":["brig"]}},"/i/oauth/clients":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"create-oauth-client\"]\n\n","operationId":"create-oauth-client","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/OAuthClientConfig_LTgzOTAwNjU1"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/OAuthClientCredentials_NTg1NDc5MjE2"}}},"description":""},"403":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"forbidden","message":"OAuth is disabled"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["forbidden"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"OAuth is disabled (label: `forbidden`)"}},"summary":"Register an OAuth client","tags":["brig"]}},"/i/oauth/clients/{id}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"delete-oauth-client\"]\n\n","operationId":"delete-oauth-client","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""},"403":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"forbidden","message":"OAuth is disabled"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["forbidden"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"OAuth is disabled (label: `forbidden`)"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"OAuth client not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`id` not found\n\nOAuth client not found (label: `not-found`)"}},"summary":"Delete OAuth client","tags":["brig"]},"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-oauth-client\"]\n\n","operationId":"i-get-oauth-client","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/OAuthClient_NzExMTI5NTIy"}}},"description":""},"403":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"forbidden","message":"OAuth is disabled"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["forbidden"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"OAuth is disabled (label: `forbidden`)"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"OAuth client not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`id` not found\n\nOAuth client not found (label: `not-found`)"}},"summary":"Get OAuth client by id","tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-oauth-client\"]\n\n","operationId":"update-oauth-client","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/OAuthClientConfig_LTgzOTAwNjU1"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/OAuthClient_NzExMTI5NTIy"}}},"description":""},"403":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"forbidden","message":"OAuth is disabled"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["forbidden"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"OAuth is disabled (label: `forbidden`)"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"OAuth client not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`id` not found\n\nOAuth client not found (label: `not-found`)"}},"summary":"Update OAuth client","tags":["brig"]}},"/i/provider/activation-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-provider-activation-code\"]\n\n","operationId":"get-provider-activation-code","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyValuePair_LTUzODIxMDIw"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/KeyValuePair_LTUzODIxMDIw"}}},"description":""}},"summary":"Retrieve activation code via api instead of email (for testing only)","tags":["brig"]}},"/i/provider/password-reset-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-provider-password-reset-code\"]\n\n","operationId":"get-provider-password-reset-code","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyValuePair_LTUzODIxMDIw"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/KeyValuePair_LTUzODIxMDIw"}}},"description":""}},"summary":"Retrieve password-reset code via api instead of email (for testing only)","tags":["brig"]}},"/i/self/email":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"putSelfEmail\"]\n\n","operationId":"putSelfEmail","parameters":[{"in":"query","name":"email_activation","required":false,"schema":{"enum":["send_activation_email","auto_activate"],"type":"string"}},{"description":"[deprecated; use email_activation] Whether to send an activation email, defaults to false. This parameter will be ignored if `activate=true`.","in":"query","name":"validate","required":false,"schema":{"type":"boolean"}},{"description":"[deprecated; use email_activation] Whether to activate the email without sending an activation email, default is false.","in":"query","name":"activate","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmailUpdate_NjQ5MDg1OTY0"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"Update accepted and pending activation of the new email"},"204":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"No update, current and new email address are the same\n\nEmail address activated"}},"summary":"Internal email update and activation. Used in tests and in spar for validating emails obtained via scim or saml implicit user creation. If the `validate` query parameter is false or missing, only update the email and do not activate.","tags":["brig"]}},"/i/sso-login":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"sso-login\"]\n\n","operationId":"sso-login","parameters":[{"in":"query","name":"persist","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/SsoLogin_LTQxOTUzODk5"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessToken_ODIyMTczMjMw"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/AccessToken_ODIyMTczMjMw"}}},"description":"OK","headers":{"Set-Cookie":{"schema":{"type":"string"}}}}},"tags":["brig"]}},"/i/status":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-status\"]\n\n","operationId":"get-status","responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"do nothing, just check liveness (NB: this works for both get, head)","tags":["brig"]}},"/i/teams":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"updateSearchVisibilityInbound\"]\n\n","operationId":"updateSearchVisibilityInbound","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamStatus_SearchVisibilityInboundConfig_LTI0ODY3Njgx"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/teams/invitation-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-invitation-code\"]\n\n","operationId":"get-invitation-code","parameters":[{"in":"query","name":"team","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"invitation_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/InvitationCode_MjU5MjY0NzQ0"}}},"description":""}},"tags":["brig"]}},"/i/teams/invitations/by-email":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-invitation-by-email\"]\n\n","operationId":"get-invitation-by-email","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Invitation_NTkzMDYwODc1"}}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/apps":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-app-ids\"]\n\n","operationId":"i-get-app-ids","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/apps/{uid}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-delete-app\"]\n\n","operationId":"i-delete-app","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/invitations":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"create-invitations-via-scim\"]\n\n","operationId":"create-invitations-via-scim","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/NewUserScimInvitation_LTE4NzY5NTcy"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"}}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/size":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"team-size\"]\n\n","operationId":"team-size","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamSize_LTMzMzk2MTk1"}}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/suspend":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"suspend-team\"]\n\n","operationId":"suspend-team","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/teams/{tid}/unsuspend":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"unsuspend-team\"]\n\n","operationId":"unsuspend-team","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/user-groups":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-update-group\"]\n\n","operationId":"i-update-group","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UpdateGroupInternalRequest_NjU3ODA4MTg5"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":""}},"summary":"Overwrite user group (name and member set) (internal)","tags":["brig"]}},"/i/user-groups/full":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-create-group-full\"]\n\n","operationId":"i-create-group-full","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/CreateGroupInternalRequest_NDYzMDU0MDU5"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserGroup_Identity_NTg4MTY1MjEx"}}},"description":""}},"summary":"Create user group with full control (internal)","tags":["brig"]}},"/i/user-groups/{tid}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-groups\"]\n\n","operationId":"i-get-groups","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"nameContains","required":false,"schema":{"type":"string"}},{"in":"query","name":"managedBy","required":false,"schema":{"enum":["wire","scim"],"type":"string"}},{"in":"query","name":"startIndex","required":true,"schema":{"maximum":18446744073709551615,"minimum":0,"type":"integer"}},{"in":"query","name":"count","required":false,"schema":{"maximum":18446744073709551615,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserGroupPage_UserGroup_Identity_NTM4OTc3MDky"}}},"description":""}},"summary":"Get user groups with filtering (internal)","tags":["brig"]}},"/i/user-groups/{tid}/{gid}/managed/{managedBy}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-delete-group-managed\"]\n\n","operationId":"i-delete-group-managed","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"gid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"managedBy","required":true,"schema":{"enum":["wire","scim"],"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"Delete a managed user group (internal)","tags":["brig"]}},"/i/user-groups/{tid}/{gid}/{includeChannels}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-group\"]\n\n","operationId":"i-get-group","parameters":[{"in":"path","name":"tid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"gid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"includeChannels","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserGroup_Identity_NTg4MTY1MjEx"}}},"description":""}},"summary":"Fetch user group (internal)","tags":["brig"]}},"/i/users":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetUsersByVariousKeys\"]\n\n","operationId":"iGetUsersByVariousKeys","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"string"}},{"in":"query","name":"handles","required":false,"schema":{"type":"string"}},{"in":"query","name":"email","required":false,"schema":{"type":"string"}},{"description":"Also return new accounts with team invitation pending","in":"query","name":"includePendingInvitations","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"},"type":"array"}}},"description":""}},"tags":["brig"]},"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"createUserNoVerify\"]\n\n","operationId":"createUserNoVerify","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/NewUser_PlainTextPassword_8_LTI4MzI5NzQx"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"}}},"description":"User created and pending activation","headers":{"Location":{"description":"UserId","schema":{"format":"uuid","type":"string"}}}},"400":{"content":{"application/json":{"schema":{"example":{"code":400,"label":"invalid-invitation-code","message":"Invalid invitation code."},"properties":{"code":{"enum":[400],"type":"integer"},"label":{"enum":["invalid-invitation-code","invalid-email","invalid-phone"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":400,"label":"invalid-invitation-code","message":"Invalid invitation code."},"properties":{"code":{"enum":[400],"type":"integer"},"label":{"enum":["invalid-invitation-code","invalid-email","invalid-phone"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"Invalid invitation code. (label: `invalid-invitation-code`)\n\nInvalid e-mail address. (label: `invalid-email`)\n\nInvalid mobile phone number (label: `invalid-phone`) or `body`"},"403":{"content":{"application/json":{"schema":{"example":{"code":403,"label":"unauthorized","message":"Unauthorized e-mail address"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["unauthorized","missing-identity","blacklisted-email","too-many-team-members","user-creation-restricted","ephemeral-user-creation-disabled"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"unauthorized","message":"Unauthorized e-mail address"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["unauthorized","missing-identity","blacklisted-email","too-many-team-members","user-creation-restricted","ephemeral-user-creation-disabled"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"Unauthorized e-mail address (label: `unauthorized`)\n\nUsing an invitation code requires registering the given email. (label: `missing-identity`)\n\nThe given e-mail address has been blacklisted due to a permanent bounce or a complaint. (label: `blacklisted-email`)\n\nToo many members in this team. (label: `too-many-team-members`)\n\nThis instance does not allow creation of personal users or teams. (label: `user-creation-restricted`)\n\nEphemeral user creation is disabled on this instance. (label: `ephemeral-user-creation-disabled`)"},"404":{"content":{"application/json":{"schema":{"example":{"code":404,"label":"invalid-code","message":"User does not exist"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["invalid-code"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"invalid-code","message":"User does not exist"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["invalid-code"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"User does not exist (label: `invalid-code`)\n\nInvalid activation code (label: `invalid-code`)"},"409":{"content":{"application/json":{"schema":{"example":{"code":409,"label":"key-exists","message":"The given e-mail address is in use."},"properties":{"code":{"enum":[409],"type":"integer"},"label":{"enum":["key-exists"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":409,"label":"key-exists","message":"The given e-mail address is in use."},"properties":{"code":{"enum":[409],"type":"integer"},"label":{"enum":["key-exists"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"The given e-mail address is in use. (label: `key-exists`)"}},"tags":["brig"]}},"/i/users/accounts-by":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-accounts-by\"]\n\n","operationId":"i-get-accounts-by","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetBy_NzE2NDg3Njcx"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"},"type":"array"}}},"description":""}},"summary":"Get user accounts by various criteria (internal)","tags":["brig"]}},"/i/users/activation-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetUserActivationCode\"]\n\n","operationId":"iGetUserActivationCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetActivationCodeResp_LTM5OTcwODkw"}}},"description":""}},"tags":["brig"]}},"/i/users/blacklist":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iDeleteBlacklist\"]\n\n","operationId":"iDeleteBlacklist","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]},"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iHeadBlacklist\"]\n\n","operationId":"iHeadBlacklist","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"Yes blacklisted"},"404":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"Not blacklisted"}},"tags":["brig"]},"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPostBlacklist\"]\n\n","operationId":"iPostBlacklist","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/connections-status":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-all-connections-unqualified\"]\n\n","operationId":"i-get-all-connections-unqualified","parameters":[{"description":"Only returns connections with the given relation, if omitted, returns all connections","in":"query","name":"filter","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConnectionsStatusRequest_ODg2NTYwMDQw"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/ConnectionStatus_LTE5MzQ3MTcw"},"type":"array"}}},"description":""}},"summary":"Get all connections of a given user","tags":["brig"]}},"/i/users/connections-status/v2":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-all-connections\"]\n\n","operationId":"i-get-all-connections","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConnectionsStatusRequestV2_NzUzNzg2NTA1"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/ConnectionStatusV2_NDA4NDk3NDEw"},"type":"array"}}},"description":""}},"summary":"Get all connections of a given user","tags":["brig"]}},"/i/users/locale":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-get-default-locale\"]\n\n","operationId":"i-get-default-locale","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LocaleUpdate_LTgzNjgyOTEw"}}},"description":""}},"summary":"Get the default locale","tags":["brig"]}},"/i/users/login-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"login-code\"]\n\n","operationId":"login-code","parameters":[{"in":"query","name":"phone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingLoginCode_LTk3OTI3MTYw"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PendingLoginCode_LTk3OTI3MTYw"}}},"description":"Login code"}},"tags":["brig"]}},"/i/users/password-reset-code":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetUserPasswordResetCode\"]\n\n","operationId":"iGetUserPasswordResetCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetPasswordResetCodeResp_NDQ4MTU1Njc5"}}},"description":""}},"tags":["brig"]}},"/i/users/revoke-identity":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iRevokeIdentity\"]\n\n","operationId":"iRevokeIdentity","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"This endpoint can lead to the following events being sent: UserIdentityRemoved event to target user","tags":["brig"]}},"/i/users/rich-info":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetRichInfoMulti\"]\n\n","operationId":"iGetRichInfoMulti","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetRichInfoMultiResponse"}}},"description":""}},"tags":["brig"]}},"/i/users/spar":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"createUserNoVerifySpar\"]\n\n","operationId":"createUserNoVerifySpar","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/NewUserSpar_Mzk5MTI0OTgx"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/User_NjA4OTQwMTQ4"}}},"description":"User created and pending activation","headers":{"Location":{"description":"UserId","schema":{"format":"uuid","type":"string"}}}},"400":{"content":{"application/json":{"schema":{"example":{"code":400,"label":"invalid-invitation-code","message":"Invalid invitation code."},"properties":{"code":{"enum":[400],"type":"integer"},"label":{"enum":["invalid-invitation-code","invalid-email","invalid-phone","invalid-handle"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":400,"label":"invalid-invitation-code","message":"Invalid invitation code."},"properties":{"code":{"enum":[400],"type":"integer"},"label":{"enum":["invalid-invitation-code","invalid-email","invalid-phone","invalid-handle"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"Invalid invitation code. (label: `invalid-invitation-code`)\n\nInvalid e-mail address. (label: `invalid-email`)\n\nInvalid mobile phone number (label: `invalid-phone`)\n\nThe given handle is invalid (less than 2 or more than 256 characters; chars not in \"a-z0-9_.-\"; or on the blocklist) (label: `invalid-handle`) or `body`"},"403":{"content":{"application/json":{"schema":{"example":{"code":403,"label":"unauthorized","message":"Unauthorized e-mail address"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["unauthorized","missing-identity","blacklisted-email","too-many-team-members","user-creation-restricted","ephemeral-user-creation-disabled","no-identity","managed-by-scim"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":403,"label":"unauthorized","message":"Unauthorized e-mail address"},"properties":{"code":{"enum":[403],"type":"integer"},"label":{"enum":["unauthorized","missing-identity","blacklisted-email","too-many-team-members","user-creation-restricted","ephemeral-user-creation-disabled","no-identity","managed-by-scim"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"Unauthorized e-mail address (label: `unauthorized`)\n\nUsing an invitation code requires registering the given email. (label: `missing-identity`)\n\nThe given e-mail address has been blacklisted due to a permanent bounce or a complaint. (label: `blacklisted-email`)\n\nToo many members in this team. (label: `too-many-team-members`)\n\nThis instance does not allow creation of personal users or teams. (label: `user-creation-restricted`)\n\nEphemeral user creation is disabled on this instance. (label: `ephemeral-user-creation-disabled`)\n\nThe user has no verified email (label: `no-identity`)\n\nUpdating handle is not allowed, because it is managed by SCIM, or E2EId is enabled (label: `managed-by-scim`)"},"404":{"content":{"application/json":{"schema":{"example":{"code":404,"label":"invalid-code","message":"User does not exist"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["invalid-code"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"invalid-code","message":"User does not exist"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["invalid-code"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"User does not exist (label: `invalid-code`)\n\nInvalid activation code (label: `invalid-code`)"},"409":{"content":{"application/json":{"schema":{"example":{"code":409,"label":"key-exists","message":"The given e-mail address is in use."},"properties":{"code":{"enum":[409],"type":"integer"},"label":{"enum":["key-exists","handle-exists"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}},"application/json;charset=utf-8":{"schema":{"example":{"code":409,"label":"key-exists","message":"The given e-mail address is in use."},"properties":{"code":{"enum":[409],"type":"integer"},"label":{"enum":["key-exists","handle-exists"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"The given e-mail address is in use. (label: `key-exists`)\n\nThe given handle is already taken (label: `handle-exists`)"}},"tags":["brig"]}},"/i/users/{uid}":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iDeleteUser\"]\n\n","operationId":"iDeleteUser","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"UserResponseAccountAlreadyDeleted"},"202":{"content":{"application/json":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}},"application/json;charset=utf-8":{"schema":{"example":[],"items":{},"maxItems":0,"type":"array"}}},"description":"UserResponseAccountDeleted"},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"User not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`uid` not found\n\nUser not found (label: `not-found`)"}},"summary":"This endpoint will lead to the following events being sent: UserDeleted event to all of its contacts, MemberLeave event to members for all conversations the user was in (via galley)","tags":["brig"]}},"/i/users/{uid}/check-admin-get-team-id":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-check-admin-get-team-id\"]\n\n","operationId":"i-check-admin-get-team-id","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UUID"}}},"description":""}},"summary":"Check if user is admin, return team ID","tags":["brig"]}},"/i/users/{uid}/contacts":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetUserContacts\"]\n\n","operationId":"iGetUserContacts","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserIds_NTM1MzkyNTQ2"}}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/export-data":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-user-export-data\"]\n\n","operationId":"get-user-export-data","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamExportUser_LTgyMjAxMzg2"}},"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamExportUser_LTgyMjAxMzg2"}}},"description":"User export data"}},"summary":"Get user export data","tags":["brig"]}},"/i/users/{uid}/features/conferenceCalling":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-delete-account-conference-calling-config\"]\n\n","operationId":"i-delete-account-conference-calling-config","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"Reset cassandra field 'brig.user.feature_conference_calling' to 'null'","tags":["brig"]},"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-account-conference-calling-config\"]\n\n","operationId":"get-account-conference-calling-config","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Feature_ConferenceCallingConfigB_Bare_Identity_Njc2NTcxNTI3"}}},"description":""}},"summary":"Read cassandra field 'brig.user.feature_conference_calling'","tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-put-account-conference-calling-config\"]\n\n","operationId":"i-put-account-conference-calling-config","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Feature_ConferenceCallingConfigB_Bare_Identity_Njc2NTcxNTI3"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"Write to cassandra field 'brig.user.feature_conference_calling'","tags":["brig"]}},"/i/users/{uid}/handle":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutHandle\"]\n\n","operationId":"iPutHandle","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/HandleUpdate_NTI4NDk1OTAx"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/locale":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-delete-user-locale\"]\n\n","operationId":"i-delete-user-locale","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"summary":"Delete the user's locale","tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"i-update-user-locale\"]\n\n","operationId":"i-update-user-locale","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LocaleUpdate_LTgzNjgyOTEw"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LocaleUpdate_LTgzNjgyOTEw"}}},"description":""}},"summary":"Set the user's locale","tags":["brig"]}},"/i/users/{uid}/managed-by":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutManagedBy\"]\n\n","operationId":"iPutManagedBy","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ManagedByUpdate_LTU3ODM2NDg2"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/name":{"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutUserName\"]\n\n","operationId":"iPutUserName","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/NameUpdate_ODAzNzI5NTY1"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/reauthenticate":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"reauthenticate\"]\n\n","operationId":"reauthenticate","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReAuthUser_Nzk5NDU0Njc4"}}},"required":true},"responses":{"200":{"description":"OK"}},"tags":["brig"]}},"/i/users/{uid}/rich-info":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetRichInfo\"]\n\n","operationId":"iGetRichInfo","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/RichInfo"}}},"description":""}},"tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutRichInfo\"]\n\n","operationId":"iPutRichInfo","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/RichInfoUpdate_NTI5MjI1MTgy"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/sso-id":{"delete":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iDeleteUserSsoId\"]\n\n","operationId":"iDeleteUserSsoId","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"UpdateSSOIdSuccess"},"404":{"description":"`uid` or UpdateSSOIdNotFound"}},"tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutUserSsoId\"]\n\n","operationId":"iPutUserSsoId","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserSSOId"}}},"required":true},"responses":{"200":{"description":"UpdateSSOIdSuccess"},"404":{"description":"`uid` or UpdateSSOIdNotFound"}},"tags":["brig"]}},"/i/users/{uid}/status":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iGetUserStatus\"]\n\n","operationId":"iGetUserStatus","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/AccountStatusResp_LTg2MTE1ODAz"}}},"description":""},"404":{"content":{"application/json;charset=utf-8":{"schema":{"example":{"code":404,"label":"not-found","message":"User not found"},"properties":{"code":{"enum":[404],"type":"integer"},"label":{"enum":["not-found"],"type":"string"},"message":{"type":"string"}},"required":["code","label","message"],"type":"object"}}},"description":"`uid` not found\n\nUser not found (label: `not-found`)"}},"tags":["brig"]},"put":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"iPutUserStatus\"]\n\n","operationId":"iPutUserStatus","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/AccountStatusUpdate_NTE4Mzc0MTM3"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""}},"tags":["brig"]}},"/i/users/{uid}/verification-code/{action}":{"get":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-verification-code\"]\n\n","operationId":"get-verification-code","parameters":[{"in":"path","name":"uid","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"action","required":true,"schema":{"enum":["create_scim_token","login","delete_team"],"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ASCII"}}},"description":""}},"summary":"Get verification code for a given email and action","tags":["brig"]}}},"security":[{"ZAuth":[]}],"servers":[{"url":"http://localhost:9082"}]}