{"type":"api","title":"List all other accounts","meta":{"id":"/apps/pubhub/media/cisco-xdr-api-docs/f4e065ff5977829c89df289df08411f83205f526/b3e25fe6-874b-31eb-9376-bf73b47f3863","info":{"title":"IROH Profile Web Service","description":"API to Manage Profile Infos: get information about your profile or users of your org","contact":{"name":"Cisco Security Business Group -- Advanced Threat","email":"cisco-intel-api-support@cisco.com"},"license":{"name":"All Rights Reserved","url":"https://www.cisco.com"},"version":"1.0.107"},"security":[{"oAuth2":["integration:read","private-intel:read","profile:read","inspect:read","users:read","invite:read","enrich:read","oauth:read","response:read","global-intel:read","ao:read","playbook:read"]}],"tags":[{"name":"ProfileClient","description":"ProfileOperations"}],"x-parser-conf":{"serverConfig":"select","overview":{"markdownPath":"reference/profile/overview.md","uri":"profile-api-guide"},"disableAuthEditing":true,"exampleAsDefault":true,"oAuth2":{"clientId":"client-546e34fc-c6bf-4951-ac69-f6d7987a7814","clientSecret":"MYw4_E_tBdFwUwrX6WFYKVD5LQrG2k7XrJ5J046wWE0s1gAKCxJ8VA","proxyEnabled":false},"meta":{"useProxy":true}},"openapi":"3.0.1","servers":[{"url":"https://visibility.amp.cisco.com"}],"securitySchemes":{"oAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://visibility.amp.cisco.com/iroh/oauth2/token","scopes":{"telemetry":"Collect application data for analytics","integration:read":"Manage your modules","private-intel:read":"Access Private Intelligence","admin":"Provide admin privileges","cognitive":"Cognitive Integration","profile:read":"Get your profile information","inspect:read":"Extract Observables and data from text","asset":"Access and modify your assets","event":"Read IROH Events","feedback":"Submit Customer Feedback","sse":"SSE Integration. Manage your Devices.","registry":"Manage registry entries","users:read":"Manage users of your organization","investigation":"Perform threat analysis investigation","invite:read":"Invite users into your organization","casebook":"Access and modify your casebooks","playbook":"Access and modify your playbooks","orbital":"Orbital Integration.","enrich:read":"Query your configured modules for threat intelligence","oauth:read":"Manage OAuth2 Clients","vault":"Grants access to Module Vaults","response:read":"List and execute response actions using configured modules","notification":"Receive notifications from integrations","global-intel:read":"Access AMP Global Intelligence","webhook":"Manage your Webhooks","ao:read":"AO Integration."}}}}}},"spec":{"tags":["Profile"],"summary":"List all other accounts.","description":"[required scopes](/iroh/doc/iroh-auth/#scopes): `profile:read`\n\nList all your other accounts, returns details about the use, org, and some interesting facts to help you choose the account.\n\n**Links**:\n - [Data Model](/iroh/doc/iroh-auth/#data-model)\n - [User Model](/iroh/doc/iroh-auth/#user-model)\n - [Org Model](/iroh/doc/iroh-auth/#org-model)","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"required":["org","stats","user"],"type":"object","properties":{"user":{"required":["created-at","enabled?","org-id","role","scopes","user-id"],"type":"object","properties":{"role":{"type":"string","enum":["user","admin","master","sat"]},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"approved-at":{"type":"string","format":"date-time"},"idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"activated-at":{"type":"string","format":"date-time"},"user-email":{"type":"string"},"user-name":{"type":"string"},"org-id":{"type":"string"},"user-id":{"type":"string"},"scim":{"required":["access-token","group-id","id"],"type":"object","properties":{"id":{"type":"string"},"access-token":{"type":"string"},"group-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/SCIMInfos"},"old-idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"last-logged-at":{"type":"array","items":{"type":"string","format":"date-time"}},"created-at":{"type":"string","format":"date-time"},"user-nick":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/User"},"org":{"required":["created-at","enabled?","id"],"type":"object","properties":{"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"apps":{"uniqueItems":true,"type":"array","description":"The applications allowed to be used by this Org","items":{"type":"string","enum":["xdr","sc","sx"]}},"blocked-at":{"type":"string","format":"date-time"},"address":{"type":"object","properties":{"department":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"postal-code":{"type":"string"},"city":{"type":"string"},"country-iso-code":{"type":"string","enum":["CR","TG","TJ","ZA","IM","PE","LC","CH","RU","MP","CK","SI","AU","KR","IT","FI","GF","SC","SX","TT","TK","MY","SY","MN","TF","KP","AM","DZ","UY","TD","DJ","BI","MK","MU","LI","NU","GR","GY","CG","NF","ML","AX","GM","SA","CX","BH","NE","BN","MF","CD","DK","BJ","ME","SJ","BO","JO","CV","VE","CI","UZ","TN","IS","EH","TM","GA","LS","TZ","AT","LT","NP","BG","IL","GU","PK","PT","HR","VU","PF","BM","MR","GE","HU","TW","MM","VG","YE","SR","PN","VA","PR","KW","SE","GB","UM","VN","CF","PA","VC","JP","IR","AF","LY","MZ","RO","QA","CM","GG","BY","SD","BQ","MO","KY","AR","BR","ZW","NR","NZ","AW","FJ","ID","SV","CN","FM","HT","CC","RW","BA","TL","JM","KM","KE","WS","TO","PY","SH","CY","GH","MA","SG","LK","PH","SM","WF","TR","PS","BZ","CU","TV","AD","SB","DM","LR","OM","SO","DO","AL","BL","FR","GW","MS","BB","CA","MG","KH","LA","GP","BV","HN","TH","DE","LB","KZ","AS","EC","NO","AO","FK","ET","GS","MD","AG","BE","MV","SZ","CZ","CL","BT","NL","EG","MQ","SN","FO","EE","AQ","ST","KN","BW","MH","NI","PG","VI","IQ","KG","US","ZM","MC","GI","NC","GT","BF","YT","LU","UA","IE","LV","GD","MW","BS","AZ","SK","GQ","TC","RE","IN","ES","GL","KI","HK","CO","SS","RS","IO","NG","UG","CW","SL","ER","JE","AE","HM","PM","BD","MT","AI","GN","PW","NA","MX","PL"]}},"additionalProperties":false,"$$ref":"#/components/schemas/OrgAddress"},"approved-at":{"type":"string","format":"date-time"},"product-instance-id":{"type":"string","description":"The Cisco SBG Platform Product Instance id associated to this Org."},"enterprise-id":{"type":"string","description":"The Cisco SBG Platform Enterprise id associated to this Org."},"idp-filter":{"type":"string","description":"The only idp-id allowed to be used to join this org."},"activated-at":{"type":"string","format":"date-time"},"name":{"type":"string","description":"The name of the Organization specified during login."},"allow-all-role-to-login":{"type":"boolean","description":"If false only admin can login"},"settings":{"type":"object","properties":{"allow-all-role-to-login":{"type":"boolean","description":"If false, only admin can login"},"name":{"type":"string","description":"The name of your Organization specified by admins."},"email-domains-whitelist":{"type":"array","description":"The list of email domain that filter access to your org.","items":{"type":"string"}}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgUserSettings"},"idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","description":"Additional scopes granted to the org. Can only be changed by masters.","items":{"type":"string"}},"old-idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"scim-status":{"type":"string","description":"Determine if your Org is activated or not (allowed values are activated or waiting-activation)","enum":["waiting-activation","activated"]},"id":{"type":"string"},"flags":{"uniqueItems":true,"type":"array","description":"Org feature flags","items":{"type":"string"}},"created-at":{"type":"string","format":"date-time"},"activation-metas":{"type":"object","properties":{"activated-with":{"type":"object","properties":{"devices":{"type":"array","items":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithDevices"}},"module-instances":{"type":"array","items":{"required":["id","module-type-id"],"type":"object","properties":{"id":{"type":"string"},"module-type-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithModuleInstances"}},"provisioning":{"required":["client-id"],"type":"object","properties":{"client-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithProvisioning"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWith"},"user-id":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ActivationMetas"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/Org"},"stats":{"required":["activated?","allow-all-role-to-login","allow-all-role-to-login-editable?","last-login-date","org-created-at","org-nb-users","relative-last-login","relative-org-created-at"],"type":"object","properties":{"activated?":{"type":"boolean","description":"true if the org is activated"},"last-login-date":{"type":"string","description":"last login date of the user","format":"date-time","nullable":true},"relative-last-login":{"type":"string","description":"human readable duration since last login","nullable":true},"org-created-at":{"type":"string","description":"creation date of the org","format":"date-time"},"allow-all-role-to-login":{"type":"boolean","description":"determine if non-admin users can login"},"allow-all-role-to-login-editable?":{"type":"boolean","description":"determine if admin users can edit the permissions for non-admin users to login"},"relative-org-created-at":{"type":"string","description":"human readable duration since org's creation"},"org-nb-users":{"type":"integer","description":"number of users in the org","format":"int64"}},"additionalProperties":false,"$$ref":"#/components/schemas/AccountStats"}},"additionalProperties":false,"$$ref":"#/components/schemas/ProfileAccountsView"}}},"application/edn":{"schema":{"type":"array","items":{"required":["org","stats","user"],"type":"object","properties":{"user":{"required":["created-at","enabled?","org-id","role","scopes","user-id"],"type":"object","properties":{"role":{"type":"string","enum":["user","admin","master","sat"]},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"approved-at":{"type":"string","format":"date-time"},"idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"activated-at":{"type":"string","format":"date-time"},"user-email":{"type":"string"},"user-name":{"type":"string"},"org-id":{"type":"string"},"user-id":{"type":"string"},"scim":{"required":["access-token","group-id","id"],"type":"object","properties":{"id":{"type":"string"},"access-token":{"type":"string"},"group-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/SCIMInfos"},"old-idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"last-logged-at":{"type":"array","items":{"type":"string","format":"date-time"}},"created-at":{"type":"string","format":"date-time"},"user-nick":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/User"},"org":{"required":["created-at","enabled?","id"],"type":"object","properties":{"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"apps":{"uniqueItems":true,"type":"array","description":"The applications allowed to be used by this Org","items":{"type":"string","enum":["xdr","sc","sx"]}},"blocked-at":{"type":"string","format":"date-time"},"address":{"type":"object","properties":{"department":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"postal-code":{"type":"string"},"city":{"type":"string"},"country-iso-code":{"type":"string","enum":["CR","TG","TJ","ZA","IM","PE","LC","CH","RU","MP","CK","SI","AU","KR","IT","FI","GF","SC","SX","TT","TK","MY","SY","MN","TF","KP","AM","DZ","UY","TD","DJ","BI","MK","MU","LI","NU","GR","GY","CG","NF","ML","AX","GM","SA","CX","BH","NE","BN","MF","CD","DK","BJ","ME","SJ","BO","JO","CV","VE","CI","UZ","TN","IS","EH","TM","GA","LS","TZ","AT","LT","NP","BG","IL","GU","PK","PT","HR","VU","PF","BM","MR","GE","HU","TW","MM","VG","YE","SR","PN","VA","PR","KW","SE","GB","UM","VN","CF","PA","VC","JP","IR","AF","LY","MZ","RO","QA","CM","GG","BY","SD","BQ","MO","KY","AR","BR","ZW","NR","NZ","AW","FJ","ID","SV","CN","FM","HT","CC","RW","BA","TL","JM","KM","KE","WS","TO","PY","SH","CY","GH","MA","SG","LK","PH","SM","WF","TR","PS","BZ","CU","TV","AD","SB","DM","LR","OM","SO","DO","AL","BL","FR","GW","MS","BB","CA","MG","KH","LA","GP","BV","HN","TH","DE","LB","KZ","AS","EC","NO","AO","FK","ET","GS","MD","AG","BE","MV","SZ","CZ","CL","BT","NL","EG","MQ","SN","FO","EE","AQ","ST","KN","BW","MH","NI","PG","VI","IQ","KG","US","ZM","MC","GI","NC","GT","BF","YT","LU","UA","IE","LV","GD","MW","BS","AZ","SK","GQ","TC","RE","IN","ES","GL","KI","HK","CO","SS","RS","IO","NG","UG","CW","SL","ER","JE","AE","HM","PM","BD","MT","AI","GN","PW","NA","MX","PL"]}},"additionalProperties":false,"$$ref":"#/components/schemas/OrgAddress"},"approved-at":{"type":"string","format":"date-time"},"product-instance-id":{"type":"string","description":"The Cisco SBG Platform Product Instance id associated to this Org."},"enterprise-id":{"type":"string","description":"The Cisco SBG Platform Enterprise id associated to this Org."},"idp-filter":{"type":"string","description":"The only idp-id allowed to be used to join this org."},"activated-at":{"type":"string","format":"date-time"},"name":{"type":"string","description":"The name of the Organization specified during login."},"allow-all-role-to-login":{"type":"boolean","description":"If false only admin can login"},"settings":{"type":"object","properties":{"allow-all-role-to-login":{"type":"boolean","description":"If false, only admin can login"},"name":{"type":"string","description":"The name of your Organization specified by admins."},"email-domains-whitelist":{"type":"array","description":"The list of email domain that filter access to your org.","items":{"type":"string"}}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgUserSettings"},"idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","description":"Additional scopes granted to the org. Can only be changed by masters.","items":{"type":"string"}},"old-idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"scim-status":{"type":"string","description":"Determine if your Org is activated or not (allowed values are activated or waiting-activation)","enum":["waiting-activation","activated"]},"id":{"type":"string"},"flags":{"uniqueItems":true,"type":"array","description":"Org feature flags","items":{"type":"string"}},"created-at":{"type":"string","format":"date-time"},"activation-metas":{"type":"object","properties":{"activated-with":{"type":"object","properties":{"devices":{"type":"array","items":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithDevices"}},"module-instances":{"type":"array","items":{"required":["id","module-type-id"],"type":"object","properties":{"id":{"type":"string"},"module-type-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithModuleInstances"}},"provisioning":{"required":["client-id"],"type":"object","properties":{"client-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithProvisioning"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWith"},"user-id":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ActivationMetas"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/Org"},"stats":{"required":["activated?","allow-all-role-to-login","allow-all-role-to-login-editable?","last-login-date","org-created-at","org-nb-users","relative-last-login","relative-org-created-at"],"type":"object","properties":{"activated?":{"type":"boolean","description":"true if the org is activated"},"last-login-date":{"type":"string","description":"last login date of the user","format":"date-time","nullable":true},"relative-last-login":{"type":"string","description":"human readable duration since last login","nullable":true},"org-created-at":{"type":"string","description":"creation date of the org","format":"date-time"},"allow-all-role-to-login":{"type":"boolean","description":"determine if non-admin users can login"},"allow-all-role-to-login-editable?":{"type":"boolean","description":"determine if admin users can edit the permissions for non-admin users to login"},"relative-org-created-at":{"type":"string","description":"human readable duration since org's creation"},"org-nb-users":{"type":"integer","description":"number of users in the org","format":"int64"}},"additionalProperties":false,"$$ref":"#/components/schemas/AccountStats"}},"additionalProperties":false,"$$ref":"#/components/schemas/ProfileAccountsView"}}},"application/transit+json":{"schema":{"type":"array","items":{"required":["org","stats","user"],"type":"object","properties":{"user":{"required":["created-at","enabled?","org-id","role","scopes","user-id"],"type":"object","properties":{"role":{"type":"string","enum":["user","admin","master","sat"]},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"approved-at":{"type":"string","format":"date-time"},"idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"activated-at":{"type":"string","format":"date-time"},"user-email":{"type":"string"},"user-name":{"type":"string"},"org-id":{"type":"string"},"user-id":{"type":"string"},"scim":{"required":["access-token","group-id","id"],"type":"object","properties":{"id":{"type":"string"},"access-token":{"type":"string"},"group-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/SCIMInfos"},"old-idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"last-logged-at":{"type":"array","items":{"type":"string","format":"date-time"}},"created-at":{"type":"string","format":"date-time"},"user-nick":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/User"},"org":{"required":["created-at","enabled?","id"],"type":"object","properties":{"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"apps":{"uniqueItems":true,"type":"array","description":"The applications allowed to be used by this Org","items":{"type":"string","enum":["xdr","sc","sx"]}},"blocked-at":{"type":"string","format":"date-time"},"address":{"type":"object","properties":{"department":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"postal-code":{"type":"string"},"city":{"type":"string"},"country-iso-code":{"type":"string","enum":["CR","TG","TJ","ZA","IM","PE","LC","CH","RU","MP","CK","SI","AU","KR","IT","FI","GF","SC","SX","TT","TK","MY","SY","MN","TF","KP","AM","DZ","UY","TD","DJ","BI","MK","MU","LI","NU","GR","GY","CG","NF","ML","AX","GM","SA","CX","BH","NE","BN","MF","CD","DK","BJ","ME","SJ","BO","JO","CV","VE","CI","UZ","TN","IS","EH","TM","GA","LS","TZ","AT","LT","NP","BG","IL","GU","PK","PT","HR","VU","PF","BM","MR","GE","HU","TW","MM","VG","YE","SR","PN","VA","PR","KW","SE","GB","UM","VN","CF","PA","VC","JP","IR","AF","LY","MZ","RO","QA","CM","GG","BY","SD","BQ","MO","KY","AR","BR","ZW","NR","NZ","AW","FJ","ID","SV","CN","FM","HT","CC","RW","BA","TL","JM","KM","KE","WS","TO","PY","SH","CY","GH","MA","SG","LK","PH","SM","WF","TR","PS","BZ","CU","TV","AD","SB","DM","LR","OM","SO","DO","AL","BL","FR","GW","MS","BB","CA","MG","KH","LA","GP","BV","HN","TH","DE","LB","KZ","AS","EC","NO","AO","FK","ET","GS","MD","AG","BE","MV","SZ","CZ","CL","BT","NL","EG","MQ","SN","FO","EE","AQ","ST","KN","BW","MH","NI","PG","VI","IQ","KG","US","ZM","MC","GI","NC","GT","BF","YT","LU","UA","IE","LV","GD","MW","BS","AZ","SK","GQ","TC","RE","IN","ES","GL","KI","HK","CO","SS","RS","IO","NG","UG","CW","SL","ER","JE","AE","HM","PM","BD","MT","AI","GN","PW","NA","MX","PL"]}},"additionalProperties":false,"$$ref":"#/components/schemas/OrgAddress"},"approved-at":{"type":"string","format":"date-time"},"product-instance-id":{"type":"string","description":"The Cisco SBG Platform Product Instance id associated to this Org."},"enterprise-id":{"type":"string","description":"The Cisco SBG Platform Enterprise id associated to this Org."},"idp-filter":{"type":"string","description":"The only idp-id allowed to be used to join this org."},"activated-at":{"type":"string","format":"date-time"},"name":{"type":"string","description":"The name of the Organization specified during login."},"allow-all-role-to-login":{"type":"boolean","description":"If false only admin can login"},"settings":{"type":"object","properties":{"allow-all-role-to-login":{"type":"boolean","description":"If false, only admin can login"},"name":{"type":"string","description":"The name of your Organization specified by admins."},"email-domains-whitelist":{"type":"array","description":"The list of email domain that filter access to your org.","items":{"type":"string"}}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgUserSettings"},"idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","description":"Additional scopes granted to the org. Can only be changed by masters.","items":{"type":"string"}},"old-idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"scim-status":{"type":"string","description":"Determine if your Org is activated or not (allowed values are activated or waiting-activation)","enum":["waiting-activation","activated"]},"id":{"type":"string"},"flags":{"uniqueItems":true,"type":"array","description":"Org feature flags","items":{"type":"string"}},"created-at":{"type":"string","format":"date-time"},"activation-metas":{"type":"object","properties":{"activated-with":{"type":"object","properties":{"devices":{"type":"array","items":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithDevices"}},"module-instances":{"type":"array","items":{"required":["id","module-type-id"],"type":"object","properties":{"id":{"type":"string"},"module-type-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithModuleInstances"}},"provisioning":{"required":["client-id"],"type":"object","properties":{"client-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithProvisioning"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWith"},"user-id":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ActivationMetas"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/Org"},"stats":{"required":["activated?","allow-all-role-to-login","allow-all-role-to-login-editable?","last-login-date","org-created-at","org-nb-users","relative-last-login","relative-org-created-at"],"type":"object","properties":{"activated?":{"type":"boolean","description":"true if the org is activated"},"last-login-date":{"type":"string","description":"last login date of the user","format":"date-time","nullable":true},"relative-last-login":{"type":"string","description":"human readable duration since last login","nullable":true},"org-created-at":{"type":"string","description":"creation date of the org","format":"date-time"},"allow-all-role-to-login":{"type":"boolean","description":"determine if non-admin users can login"},"allow-all-role-to-login-editable?":{"type":"boolean","description":"determine if admin users can edit the permissions for non-admin users to login"},"relative-org-created-at":{"type":"string","description":"human readable duration since org's creation"},"org-nb-users":{"type":"integer","description":"number of users in the org","format":"int64"}},"additionalProperties":false,"$$ref":"#/components/schemas/AccountStats"}},"additionalProperties":false,"$$ref":"#/components/schemas/ProfileAccountsView"}}},"application/transit+msgpack":{"schema":{"type":"array","items":{"required":["org","stats","user"],"type":"object","properties":{"user":{"required":["created-at","enabled?","org-id","role","scopes","user-id"],"type":"object","properties":{"role":{"type":"string","enum":["user","admin","master","sat"]},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"approved-at":{"type":"string","format":"date-time"},"idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"activated-at":{"type":"string","format":"date-time"},"user-email":{"type":"string"},"user-name":{"type":"string"},"org-id":{"type":"string"},"user-id":{"type":"string"},"scim":{"required":["access-token","group-id","id"],"type":"object","properties":{"id":{"type":"string"},"access-token":{"type":"string"},"group-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/SCIMInfos"},"old-idp-mappings":{"type":"array","items":{"required":["idp","user-identity-id"],"type":"object","properties":{"idp":{"type":"string"},"user-identity-id":{"type":"string"},"organization-id":{"type":"string"},"cco-id":{"type":"string"},"enabled?":{"type":"boolean"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/IdPMapping"}},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"last-logged-at":{"type":"array","items":{"type":"string","format":"date-time"}},"created-at":{"type":"string","format":"date-time"},"user-nick":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/User"},"org":{"required":["created-at","enabled?","id"],"type":"object","properties":{"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"apps":{"uniqueItems":true,"type":"array","description":"The applications allowed to be used by this Org","items":{"type":"string","enum":["xdr","sc","sx"]}},"blocked-at":{"type":"string","format":"date-time"},"address":{"type":"object","properties":{"department":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"postal-code":{"type":"string"},"city":{"type":"string"},"country-iso-code":{"type":"string","enum":["CR","TG","TJ","ZA","IM","PE","LC","CH","RU","MP","CK","SI","AU","KR","IT","FI","GF","SC","SX","TT","TK","MY","SY","MN","TF","KP","AM","DZ","UY","TD","DJ","BI","MK","MU","LI","NU","GR","GY","CG","NF","ML","AX","GM","SA","CX","BH","NE","BN","MF","CD","DK","BJ","ME","SJ","BO","JO","CV","VE","CI","UZ","TN","IS","EH","TM","GA","LS","TZ","AT","LT","NP","BG","IL","GU","PK","PT","HR","VU","PF","BM","MR","GE","HU","TW","MM","VG","YE","SR","PN","VA","PR","KW","SE","GB","UM","VN","CF","PA","VC","JP","IR","AF","LY","MZ","RO","QA","CM","GG","BY","SD","BQ","MO","KY","AR","BR","ZW","NR","NZ","AW","FJ","ID","SV","CN","FM","HT","CC","RW","BA","TL","JM","KM","KE","WS","TO","PY","SH","CY","GH","MA","SG","LK","PH","SM","WF","TR","PS","BZ","CU","TV","AD","SB","DM","LR","OM","SO","DO","AL","BL","FR","GW","MS","BB","CA","MG","KH","LA","GP","BV","HN","TH","DE","LB","KZ","AS","EC","NO","AO","FK","ET","GS","MD","AG","BE","MV","SZ","CZ","CL","BT","NL","EG","MQ","SN","FO","EE","AQ","ST","KN","BW","MH","NI","PG","VI","IQ","KG","US","ZM","MC","GI","NC","GT","BF","YT","LU","UA","IE","LV","GD","MW","BS","AZ","SK","GQ","TC","RE","IN","ES","GL","KI","HK","CO","SS","RS","IO","NG","UG","CW","SL","ER","JE","AE","HM","PM","BD","MT","AI","GN","PW","NA","MX","PL"]}},"additionalProperties":false,"$$ref":"#/components/schemas/OrgAddress"},"approved-at":{"type":"string","format":"date-time"},"product-instance-id":{"type":"string","description":"The Cisco SBG Platform Product Instance id associated to this Org."},"enterprise-id":{"type":"string","description":"The Cisco SBG Platform Enterprise id associated to this Org."},"idp-filter":{"type":"string","description":"The only idp-id allowed to be used to join this org."},"activated-at":{"type":"string","format":"date-time"},"name":{"type":"string","description":"The name of the Organization specified during login."},"allow-all-role-to-login":{"type":"boolean","description":"If false only admin can login"},"settings":{"type":"object","properties":{"allow-all-role-to-login":{"type":"boolean","description":"If false, only admin can login"},"name":{"type":"string","description":"The name of your Organization specified by admins."},"email-domains-whitelist":{"type":"array","description":"The list of email domain that filter access to your org.","items":{"type":"string"}}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgUserSettings"},"idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"enabled?":{"type":"boolean"},"additional-scopes":{"uniqueItems":true,"type":"array","description":"Additional scopes granted to the org. Can only be changed by masters.","items":{"type":"string"}},"old-idp-mapping":{"required":["enabled?","idp","organization-id"],"type":"object","properties":{"idp":{"type":"string","description":"Internal idp-id"},"organization-id":{"type":"string","description":"the organization id provided by the IdP"},"enabled?":{"type":"boolean","description":"Do we allow the connection through this IdP?"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/OrgIdPMapping"},"scim-status":{"type":"string","description":"Determine if your Org is activated or not (allowed values are activated or waiting-activation)","enum":["waiting-activation","activated"]},"id":{"type":"string"},"flags":{"uniqueItems":true,"type":"array","description":"Org feature flags","items":{"type":"string"}},"created-at":{"type":"string","format":"date-time"},"activation-metas":{"type":"object","properties":{"activated-with":{"type":"object","properties":{"devices":{"type":"array","items":{"required":["id","type"],"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithDevices"}},"module-instances":{"type":"array","items":{"required":["id","module-type-id"],"type":"object","properties":{"id":{"type":"string"},"module-type-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithModuleInstances"}},"provisioning":{"required":["client-id"],"type":"object","properties":{"client-id":{"type":"string"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWithProvisioning"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ProfileAccountsViewOrgActivationMetasActivatedWith"},"user-id":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/ActivationMetas"}},"additionalProperties":{"type":"object"},"$$ref":"#/components/schemas/Org"},"stats":{"required":["activated?","allow-all-role-to-login","allow-all-role-to-login-editable?","last-login-date","org-created-at","org-nb-users","relative-last-login","relative-org-created-at"],"type":"object","properties":{"activated?":{"type":"boolean","description":"true if the org is activated"},"last-login-date":{"type":"string","description":"last login date of the user","format":"date-time","nullable":true},"relative-last-login":{"type":"string","description":"human readable duration since last login","nullable":true},"org-created-at":{"type":"string","description":"creation date of the org","format":"date-time"},"allow-all-role-to-login":{"type":"boolean","description":"determine if non-admin users can login"},"allow-all-role-to-login-editable?":{"type":"boolean","description":"determine if admin users can edit the permissions for non-admin users to login"},"relative-org-created-at":{"type":"string","description":"human readable duration since org's creation"},"org-nb-users":{"type":"integer","description":"number of users in the org","format":"int64"}},"additionalProperties":false,"$$ref":"#/components/schemas/AccountStats"}},"additionalProperties":false,"$$ref":"#/components/schemas/ProfileAccountsView"}}}}}},"x-no-doc":false,"security":[{"oAuth2":["integration:read","private-intel:read","profile:read","inspect:read","users:read","invite:read","enrich:read","oauth:read","response:read","global-intel:read","ao:read","playbook:read"]}],"method":"get","path":"/iroh/profile/accounts"}}