Elastio Azure Subscriptions API

Connected Microsoft Azure subscriptions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /gateway/api/v1/azure-subscriptions List all Azure subscriptions #
GET /gateway/api/v1/azure-subscriptions/{subscriptionId} Get Azure subscription metadata #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elastio:elastio-azure-subscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elastio-azure-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elastio Azure Subscriptions API
  description: 'The Elastio API gives you access to the Elastio platform from code. Hunt looks for ransomware, malware, and corrupted files in live, replicated, and backup data. Pursuit investigates copies of your systems for evidence of compromise. The API returns what both find, the incidents they raise, and the evidence that proves which recovery point is clean.


    ## Base URL


    Every request goes to your tenant:


    ```

    https://{tenant}.app.elastio.com

    ```


    `{tenant}` is the subdomain you use to sign in to the Elastio console.


    ## Authentication


    Send a personal access token (PAT) in the `Authorization` header:


    ```

    Authorization: Bearer

    ```


    Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`. Tokens can be scoped to the categories `inventory`, `security`, `protection`, `reporting`, `integrations` and `admin`, each with `read` or `write` access. See the authentication guide for details.


    ## Trying requests


    Select **Test Request** on any operation to send it from your browser. Enter your tenant in the server field and your token under **Authentication**. Requests run against your live tenant, so write operations change real data.'
  version: 1.0.0
  contact:
    name: Elastio Support
    email: support@elastio.com
    url: https://support.elastio.com
  license:
    name: Copyright © Elastio Software, Inc. All rights reserved.
    url: https://elastio.com
servers:
- url: https://{tenant}.app.elastio.com
  description: Your Elastio tenant
  variables:
    tenant:
      default: your-tenant
      description: The subdomain of your Elastio console URL
security:
- authorization: []
tags:
- name: Azure Subscriptions
  description: Connected Microsoft Azure subscriptions.
paths:
  /gateway/api/v1/azure-subscriptions:
    get:
      operationId: list_azure_subscriptions
      summary: List all Azure subscriptions
      tags:
      - Azure Subscriptions
      description: List all Azure subscriptions for a tenant
      security:
      - authorization: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    example: 200
                  message:
                    type: string
                    example: Azure subscriptions retrieved successfully
                  data:
                    type: array
                    description: List of Azure subscriptions
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Azure subscription ID
                        name:
                          type: string
                          description: Azure subscription name
                        state:
                          type: string
                          enum:
                          - enabled
                          - warned
                          - past_due
                          - disabled
                          - deleted
                          description: Azure subscription state
                        azure_tenant_id:
                          type:
                          - string
                          - 'null'
                          description: Azure tenant ID
                        tags:
                          type: array
                          description: Azure subscription tags
                          items:
                            type: object
                            properties:
                              key:
                                type: string
                                description: Tag key
                              value:
                                type:
                                - string
                                - 'null'
                                description: Tag value
                            required:
                            - key
                        created_at:
                          type: string
                          format: date-time
                          description: Subscription creation timestamp
                        updated_at:
                          type: string
                          format: date-time
                          description: Subscription last update timestamp
                      required:
                      - id
                      - name
                      - state
                      - created_at
                      - updated_at
                      - tags
                required:
                - status
                - message
                - data
        '400':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        5XX:
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /gateway/api/v1/azure-subscriptions/{subscriptionId}:
    get:
      operationId: get_azure_subscription
      summary: Get Azure subscription metadata
      tags:
      - Azure Subscriptions
      description: Get Azure subscription metadata including resource groups
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: subscriptionId
        required: true
        description: Azure subscription ID
      security:
      - authorization: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    example: 200
                  message:
                    type: string
                    example: Azure subscription retrieved successfully
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Azure subscription ID
                      name:
                        type: string
                        description: Azure subscription name
                      state:
                        type: string
                        enum:
                        - enabled
                        - warned
                        - past_due
                        - disabled
                        - deleted
                        description: Azure subscription state
                      azure_tenant_id:
                        type:
                        - string
                        - 'null'
                        description: Azure tenant ID
                      tags:
                        type: array
                        description: Azure subscription tags
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: Tag key
                            value:
                              type:
                              - string
                              - 'null'
                              description: Tag value
                          required:
                          - key
                      created_at:
                        type: string
                        format: date-time
                        description: Subscription creation timestamp
                      updated_at:
                        type: string
                        format: date-time
                        description: Subscription last update timestamp
                      resource_groups:
                        type: array
                        description: List of resource groups in the subscription
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Resource group ID
                            name:
                              type: string
                              description: Resource group name
                            provisioning_state:
                              type:
                              - string
                              - 'null'
                              description: Resource group provisioning state
                            location:
                              type: string
                              description: Resource group location
                            managed_by:
                              type:
                              - string
                              - 'null'
                              description: Resource group managed by
                            state:
                              type: string
                              enum:
                              - exists
                              - deleted
                              description: Resource group state
                            tags:
                              type: array
                              description: Resource group tags
                              items:
                                type: object
                                properties:
                                  key:
                                    type: string
                                    description: Tag key
                                  value:
                                    type:
                                    - string
                                    - 'null'
                                    description: Tag value
                                required:
                                - key
                            created_at:
                              type: string
                              format: date-time
                              description: Resource group creation timestamp
                            updated_at:
                              type: string
                              format: date-time
                              description: Resource group last update timestamp
                          required:
                          - id
                          - name
                          - location
                          - state
                          - created_at
                          - updated_at
                    required:
                    - id
                    - name
                    - state
                    - created_at
                    - updated_at
                    - resource_groups
                required:
                - status
                - message
                - data
        '400':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        5XX:
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      description: The error envelope returned by the Elastio API gateway.
      properties:
        status:
          type: integer
          minimum: 400
          maximum: 599
          example: 404
        error:
          type: string
          example: Not Found
        message:
          type: string
          example: Asset 6c1f... was not found
        cached:
          type: boolean
          example: false
      required:
      - status
      - error
      - message
  securitySchemes:
    authorization:
      type: http
      scheme: bearer
      description: 'A personal access token (PAT) sent as `Authorization: Bearer <token>`. Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`.'
    bearerAuth:
      type: http
      scheme: bearer
      description: Integration channel token issued by Elastio for inbound partner events (Wiz).
externalDocs:
  description: Elastio Developer Portal
  url: https://developer.elastio.com
x-tagGroups:
- name: Platform
  tags:
  - System
  - Tenant Settings
  - Licenses
  - Plan
  - Billing
  - Early Access
  - AI Provider Credentials
- name: Identity & Access
  tags:
  - Users
  - User Groups
  - Roles
  - Account Groups
  - Personal Access Tokens
  - Audit Logs
- name: Inventory & Deployments
  tags:
  - Deployments
  - Assets
  - Search
  - Inventory
  - Asset Accounts
  - Tags
  - Azure Subscriptions
  - GCP Projects
  - IBM
  - OVA Accounts
  - Vault
  - Database Monitoring
  - Data
- name: Backups & Recovery Points
  tags:
  - Backup
- name: Hunts & Investigations
  tags:
  - Scans
  - Scan Jobs
  - Hunt Rules
  - Custom Hunts
  - Pursuit
  - Pursuit Scans
  - Threats
  - Ransomware
  - Data Classification
- name: Findings & Response
  tags:
  - Incidents
  - Findings
  - Violations
  - Issues
  - Posture
  - Compliance
  - DRS
- name: Policies & Jobs
  tags:
  - Policies
  - Policy Schedules
  - Policy Membership
  - System Policies
  - System Events
  - Jobs
- name: Recovery & Evidence
  tags:
  - Resilience Program
  - Recovery Verdict
  - Recovery Analytics
  - Evidence
  - Security Metrics
- name: Reporting
  tags:
  - Reports
  - Report Schedules
  - EQL
- name: Alerts & Integrations
  tags:
  - Alerts
  - Webhooks
  - Slack
  - Splunk
  - VirusTotal
  - Wiz
  - GuardDuty