{"type":"api","title":"Get Security Cloud Control tenants managed by MSP Portal","meta":{"id":"/apps/pubhub/media/cdo-api-documentation/fc190292ad0b98625f6b6f66a66acd09c1059a4d/9b0e4c9a-48cb-3530-a00a-1f32fbf2438c","info":{"title":"Cisco Security Cloud Control Firewall Manager API","version":"1.23.0","description":"Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer","contact":{"name":"Cisco Security Cloud Control TAC","email":"cdo.tac@cisco.com"}},"openapi":"3.0.1","servers":[{"url":"https://api.us.security.cisco.com/firewall","description":"US"},{"url":"https://api.eu.security.cisco.com/firewall","description":"EU"},{"url":"https://api.apj.security.cisco.com/firewall","description":"APJ"},{"url":"https://api.au.security.cisco.com/firewall","description":"AUS"},{"url":"https://api.in.security.cisco.com/firewall","description":"IN"},{"url":"https://api.uae.security.cisco.com/firewall","description":"UAE"},{"url":"https://api.int.security.cisco.com/firewall","description":"Staging"},{"url":"https://scale.manage.security.cisco.com/api/rest","description":"Scale"},{"url":"https://ci.manage.security.cisco.com/api/rest","description":"CI"},{"url":"https://devfed.cdo.cisco.com/api/rest","description":"Devfed"},{"url":"https://manage.dev.secure.cisco/api/rest","description":"Devf9"},{"url":"https://manage.stg.secure.cisco/api/rest","description":"Stgf9"},{"url":"https://manage.secure.cisco/api/rest","description":"ProdF9"},{"url":"https://manage.securitydod.cisco/api/rest","description":"IL5"}],"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"spec":{"description":"Get a list of Security Cloud Control tenants managed by the MSP Portal.","operationId":"getMspManagedTenants","parameters":[{"description":"Number of results to retrieve.","in":"query","name":"limit","required":false,"schema":{"default":"50","maximum":200,"minimum":0,"type":"string"}},{"description":"Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.","in":"query","name":"offset","required":false,"schema":{"default":"0","minimum":0,"type":"string"}},{"description":"The query to execute. Use the Lucene Query Syntax to construct your query.","example":"fieldName:fieldValue","in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"The fields to sort results by.","example":"name:DESC","in":"query","name":"sort","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"count":{"description":"The total number of results available.","example":100,"format":"int32","type":"integer"},"items":{"description":"The list of items retrieved.","items":{"properties":{"apiTokenValid":{"description":"Indicates whether the tenant's API token is valid.","example":true,"type":"boolean"},"cdFmcType":{"description":"Indicates whether the tenant's provisioned cdFMC instance is dedicated rather than shared.","enum":["DEDICATED","SHARED","UNPROVISIONED"],"type":"string"},"complianceStatus":{"description":"The licensing compliance status of the tenant.","enum":["IN_COMPLIANCE","OUT_OF_COMPLIANCE","UNKNOWN"],"example":"IN_COMPLIANCE","type":"string"},"deviceCount":{"description":"The number of devices in this managed tenant.","example":42,"format":"int32","type":"integer"},"displayName":{"description":"A human-readable display name for the tenant. This is the tenant name displayed in the Security Cloud Control Web UI.","example":"My Example Tenant","type":"string"},"licensingType":{"description":"The licensing type of the tenant.","enum":["MSLA","SMART_LICENSING"],"example":"MSLA","type":"string"},"name":{"description":"The name of the tenant in CDO. Tenant names are unique in Security Cloud Control.","example":"my-example-tenant","type":"string"},"region":{"description":"The Security Cloud Control region the tenant exists in.","enum":["US","EU","APJ","AUS","IN","UAE","CI","SCALE","STAGING","DEVFED","STGF9","DEVF9","PRODF9","UNKNOWN"],"example":"US","type":"string"},"salStatus":{"description":"Indicates whether Cisco Security Analytics and Logging is enabled for the tenant. UNKNOWN means the status has not been determined for this tenant yet.","enum":["ENABLED","DISABLED","UNKNOWN"],"example":"ENABLED","type":"string"},"sccOrganizationUid":{"description":"The unique identifier of the organization in Security Cloud Control Firewall Platform. This is different to the unique identifier used in Security Cloud Control Firewall Manager.","example":"7131daad-e813-4b8f-8f42-be1e241e8cdb","format":"uuid","type":"string"},"tenantPayType":{"description":"The pay type of the tenant.","enum":["PAYING","NOT_PAYING","TRIAL","INTERNAL","PARTNER","DEMO"],"example":"PAYING","type":"string"},"uid":{"description":"The unique identifier of the tenant in Security Cloud Control Firewall Manager.","example":"7131daad-e813-4b8f-8f42-be1e241e8cdb","format":"uuid","type":"string"},"virtualAccounts":{"description":"The list of virtual accounts associated with this managed tenant.","items":{"description":"The list of virtual accounts associated with this managed tenant.","properties":{"complianceStatus":{"description":"The compliance status of the virtual account.","enum":["IN_COMPLIANCE","OUT_OF_COMPLIANCE","UNKNOWN"],"example":"IN_COMPLIANCE","type":"string"},"name":{"description":"The name of the virtual account.","example":"My Virtual Account","type":"string"},"smartAccountUid":{"description":"The unique identifier, represented as a UUID, of the smart account associated with this virtual account.","example":"8242ebbd-f924-5c9f-9f53-cf2f352f9ddc","format":"uuid","type":"string"},"uid":{"description":"The unique identifier, represented as a UUID, of the virtual account in Security Cloud Control.","example":"7131daad-e813-4b8f-8f42-be1e241e8cdb","format":"uuid","type":"string"}},"type":"object","$$ref":"#/components/schemas/MspManagedTenantVirtualAccountDto"},"type":"array"}},"required":["displayName","name","region","uid"],"type":"object","$$ref":"#/components/schemas/MspManagedTenantDto"},"type":"array"},"limit":{"description":"The number of results retrieved.","example":50,"format":"int32","type":"integer"},"offset":{"description":"The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.","example":0,"format":"int32","type":"integer"}},"type":"object","$$ref":"#/components/schemas/MspManagedTenantDtoPage"}}},"description":"List of Security Cloud Control tenant objects"},"400":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Invalid input provided. Check the response for details.","$$ref":"#/components/responses/http400BadRequest"},"401":{"content":{"application/json":{"schema":{"properties":{"error":{"description":"A human-readable error description in English.","example":"invalid_token","type":"string"},"errorDescription":{"description":"A human-readable error description in English.","example":"Your token is invalid","type":"string"}},"type":"object","$$ref":"#/components/schemas/AuthenticationError"}}},"description":"Request not authorized.","$$ref":"#/components/responses/http401Unauthorised"},"403":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"User does not have sufficient privileges to perform this operation.","$$ref":"#/components/responses/http403Forbidden"},"500":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Internal server error."}},"security":[{"bearerAuth":[]}],"summary":"Get Security Cloud Control tenants managed by MSP Portal","tags":["MSP Tenant Management"],"__originalOperationId":"getMspManagedTenants","method":"get","path":"/v1/msp/tenants"}}