Palo Alto Networks Cloud Accounts (All) API

You can use the APIs in this category to perform operations that are nonspecific to cloud account types, such as listing all the cloud accounts, listing supported features, and deleting an account. For operations that are specific to the cloud type or cloud provider, see: * [Cloud Accounts (AWS)](/prisma-cloud/api/cspm/cloud-accounts-aws/) * [Cloud Accounts (Azure)](/prisma-cloud/api/cspm/cloud-accounts-azure/) * [Cloud Accounts (GCP)](/prisma-cloud/api/cspm/cloud-accounts-gcp/) * [Cloud Accounts (OCI and Alibaba)](/prisma-cloud/api/cspm/cloud-accounts-oci-and-alibaba/)

Operations 14

GET /account/{accountId}/config/status Get Account Status #
GET /cloud Get all Cloud Accounts #
GET /cloud/name List Cloud Account Names - GET #
POST /cloud/name List Cloud Account Names - POST #
GET /cloud/type List Cloud Types #
GET /cloud/{cloud_type}/{id} Get Cloud Account Details #
DELETE /cloud/{cloud_type}/{id} Delete Cloud Account #
PATCH /cloud/{cloud_type}/{id} Update Cloud Account Details #
GET /cloud/{cloud_type}/{id}/project Get Cloud Org Accounts #
GET /cloud/{id}/owners List Cloud Account Owners #
PATCH /cloud/{id}/status/{enabled} Update Cloud Account Status #
PUT /cas/api/v1/org/{id}/features Update Feature State for Members of an Organization #
POST /cas/v1/features/cloud/{cloud_type} Fetch Supported Features For Cloud Type #
POST /config/v3/account Save Account Config With Given Attributes #

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/palo-alto-networks-cloud-accounts-all-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

palo-alto-networks-cloud-accounts-all-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Cloud Accounts (All) API
  version: '1.0'
  description: 'Operations tagged Cloud Accounts (All) across 3 of this provider''s published API definitions: palo-alto-cspm-cloudaccountonboardingmicroservices-openapi.json, palo-alto-cspm-cloudaccountsmicroservice-openapi.json, palo-alto-cspm-datasecurityonboardingmicroservice-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prismacloud.io
- url: https://api2.prismacloud.io
- url: https://api3.prismacloud.io
- url: https://api4.prismacloud.io
- url: https://api.anz.prismacloud.io
- url: https://api.eu.prismacloud.io
- url: https://api2.eu.prismacloud.io
- url: https://api.gov.prismacloud.io
- url: https://api.prismacloud.cn
- url: https://api.ca.prismacloud.io
- url: https://api.sg.prismacloud.io
- url: https://api.uk.prismacloud.io
- url: https://api.ind.prismacloud.io
- url: https://api.jp.prismacloud.io
- url: https://api.fr.prismacloud.io
tags:
- name: Cloud Accounts (All)
  description: "You can use the APIs in this category to perform operations that are nonspecific to cloud account types, such as listing all the cloud accounts, listing supported features, and deleting an account.\n\nFor operations that are specific to the cloud type or cloud provider, see:\n* [Cloud Accounts (AWS)](/prisma-cloud/api/cspm/cloud-accounts-aws/)\n* [Cloud Accounts (Azure)](/prisma-cloud/api/cspm/cloud-accounts-azure/) \n* [Cloud Accounts (GCP)](/prisma-cloud/api/cspm/cloud-accounts-gcp/)\n* [Cloud Accounts (OCI and Alibaba)](/prisma-cloud/api/cspm/cloud-accounts-oci-and-alibaba/)\n"
paths:
  /account/{accountId}/config/status:
    get:
      tags:
      - Cloud Accounts (All)
      summary: Get Account Status
      description: Returns the list of Prisma Cloud Security Capabilities whose status is either warning or error for the specified account ID. The response also contains suggestions to remediate the error or warning.
      operationId: list-cloud-account-status-details
      parameters:
      - name: accountId
        in: path
        description: Cloud account ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CloudAccountConfigStatusView'
        '400':
          description: bad_request
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud:
    get:
      tags:
      - Cloud Accounts (All)
      summary: Get all Cloud Accounts
      description: Get summary details of all the cloud accounts onboarded onto Prisma Cloud. This endpoint returns a list view without the features array. To get complete details of a specific cloud account including features, see [Get Cloud Account Details](/prisma-cloud/api/cspm/get-cloud-account).
      operationId: get-cloud-accounts
      parameters:
      - name: excludeAccountGroupDetails
        in: query
        description: true = Exclude account group details. Default is false.
        required: false
        schema:
          type: boolean
      - name: includePendingAccounts
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CloudAccountListViewModel'
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/name:
    get:
      tags:
      - Cloud Accounts (All)
      summary: List Cloud Account Names - GET
      description: "You can use this endpoint to GET the account IDs and names of accounts that:\n\n *Belongs to a specific account group\n\n *Belongs to a specific account type \n\n *Is active. For precise filtering, use the [List Cloud Account Names -POST](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-names-by-post/) endpoint."
      operationId: get-cloud-account-names
      parameters:
      - name: onlyActive
        in: query
        description: Returns IDs and names of active accounts only. Default is false.
        required: false
        schema:
          type: boolean
      - name: accountGroupIds
        in: query
        description: Returns IDs and names of accounts that belong to the specified account group IDs
        required: false
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: cloudType
        in: query
        description: Returns IDs and names of accounts that belong to the specified cloudType and accountGroup
        required: false
        schema:
          type: string
      - name: includeOthers
        in: query
        description: Returns none cloudAccount and none cloudAccountId in response if includeOthers is true
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CloudAccountIdentity'
      x-microservice: 'true'
      x-public: 'true'
      security:
      - x-redlock-auth: []
    post:
      tags:
      - Cloud Accounts (All)
      summary: List Cloud Account Names - POST
      description: Get the list of cloud account names and Ids that match custom filtering criteria where the filter criteria can be defined in the filter key and filter value parameter of the request.
      operationId: get-cloud-account-names-by-post
      parameters:
      - name: onlyActive
        in: query
        description: Returns IDs and names of active accounts only. Default is false.
        required: false
        schema:
          type: boolean
      - name: cloudType
        in: query
        description: Returns IDs and names of accounts that belong to the specified cloudType and accountGroup
        required: false
        schema:
          type: string
      - name: includeOthers
        in: query
        description: Returns none cloudAccount and none cloudAccountId in response if includeOthers is true
        required: false
        schema:
          type: boolean
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountListRequestModel'
        description: Cloud Account Groups
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CloudAccountIdentity'
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/type:
    get:
      tags:
      - Cloud Accounts (All)
      summary: List Cloud Types
      description: Returns the list of cloud account types supported by Prisma Cloud. You can also filter the cloud account types that you have onboarded.
      operationId: get-cloud-types
      parameters:
      - name: onlyAccessible
        in: query
        description: '**true** = return only cloud types to which the user has access and for which he has onboarded cloud accounts. Default is **false**.'
        required: false
        schema:
          type: boolean
      - name: includeOthers
        in: query
        description: returns other cloudType in response if includeOthers is true
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  type: string
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/{cloud_type}/{id}:
    get:
      tags:
      - Cloud Accounts (All)
      summary: Get Cloud Account Details
      description: Returns details of a Cloud Account based on cloud type and cloud ID. To get details of all the cloud accounts onboarded to Prisma Cloud, see [Get all Cloud Accounts](/prisma-cloud/api/cspm/get-cloud-accounts).
      operationId: get-cloud-account
      parameters:
      - name: cloud_type
        in: path
        description: Cloud Type
        required: true
        schema:
          type: string
          enum:
          - aws
          - azure
          - gcp
          - alibaba_cloud
          - oci
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      - name: includeGroupInfo
        in: query
        description: true = Include account group info. Default is false.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/CloudAccountModel'
      security:
      - x-redlock-auth: []
      x-public: 'true'
    delete:
      tags:
      - Cloud Accounts (All)
      summary: Delete Cloud Account
      description: Deletes an onboarded cloud account based on the specified Cloud Account ID and Cloud Type.
      operationId: delete-cloud-account
      parameters:
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      - name: cloud_type
        in: path
        description: Cloud Type
        required: true
        schema:
          type: string
          enum:
          - aws
          - azure
          - gcp
          - alibaba_cloud
          - oci
      responses:
        '200':
          description: successful operation
        '400':
          description: invalid_cloud_type / bad_request
        '403':
          description: cannot_delete_org_child
        '404':
          description: invalid_cloud_type / invalid_account_id_format
      security:
      - x-redlock-auth: []
      x-public: 'true'
    patch:
      tags:
      - Cloud Accounts (All)
      summary: Update Cloud Account Details
      description: Update the cloud account details such as cloud account status, auto consent state, status of children's accounts, and account group. In addition, you can also enable or disable the ingestion of data from the cloud account.
      operationId: patch-cloud-account
      parameters:
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      - name: cloud_type
        in: path
        description: Cloud Type
        required: true
        schema:
          type: string
          enum:
          - aws
          - azure
          - gcp
          - alibaba_cloud
          - oci
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudAccountPatchModel'
        description: Cloud Account Patch
        required: true
      responses:
        '200':
          description: successful operation
        '400':
          description: invalid_account_id_format / invalid_account_patch
        '404':
          description: invalid_cloud_type / invalid_account_id_format
        '405':
          description: cloud_account_already_enabled / cloud_account_already_disabled
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/{cloud_type}/{id}/project:
    get:
      tags:
      - Cloud Accounts (All)
      summary: Get Cloud Org Accounts
      description: Get summary details of all the cloud accounts onboarded onto Prisma Cloud as children of an organization that belongs to a specific cloud type. This endpoint returns a list view without the features array. To get complete details of a specific cloud account including features, see [Get Cloud Account Details](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account/).
      operationId: get-cloud-org-accounts
      parameters:
      - name: cloud_type
        in: path
        description: Cloud Type
        required: true
        schema:
          type: string
          enum:
          - aws
          - azure
          - gcp
          - alibaba_cloud
          - oci
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      - name: excludeAccountGroupDetails
        in: query
        description: true = Exclude account group details. Default is false.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CloudAccountListViewModel'
        '400':
          description: not_found / not_an_org
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/{id}/owners:
    get:
      tags:
      - Cloud Accounts (All)
      summary: List Cloud Account Owners
      description: Returns the email addresses of all owners for the specified cloud account ID.
      operationId: get-cloud-account-owners
      parameters:
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                type: array
                items:
                  type: string
        '400':
          description: invalid_account_id_format
        '404':
          description: invalid_account_id_format
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cloud/{id}/status/{enabled}:
    patch:
      tags:
      - Cloud Accounts (All)
      summary: Update Cloud Account Status
      description: Enable or disable data ingestion from a cloud account and its children by cloud account ID.
      operationId: update-cloud-account-status
      parameters:
      - name: id
        in: path
        description: Account ID
        required: true
        schema:
          type: string
      - name: enabled
        in: path
        description: Status To Set
        required: true
        schema:
          type: boolean
      - name: updateChildren
        in: query
        description: Allows for updating status of children cloud accounts if any. Default is false.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
        '400':
          description: invalid_account_id_format / invalid_account_patch
        '404':
          description: invalid_account_id_format
      security:
      - x-redlock-auth: []
      x-public: 'true'
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cas/api/v1/org/{id}/features:
    put:
      tags:
      - Cloud Accounts (All)
      summary: Update Feature State for Members of an Organization
      description: Enable or disable the feature for list of member accounts linked to an organization.
      operationId: save-Bulk-Cloud-Account-Feature
      parameters:
      - name: id
        in: path
        description: ' For AWS, specify organization id.


          For GCP, specify organization id or masterServiceAccount id.


          For Azure, specify tenant id.


          '
        required: true
        schema:
          type: string
          example: null
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudAccountBulkFeatureRequest'
        required: true
      responses:
        '200':
          description: Successfully saved/updated cloud account feature for the given member accounts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          description: Invalid Account Id/Member Ids cannot be empty or null/Member account list should be less than 500 in a single request/Feature {0} is not allowed/Invalid feature state {0} for feature {1}/Organisation Id {0} is not onboarded/AccountType of {0} is invalid, should be either of Organisation / Master Service Account / Tenant/Members account {0} do not belong to {1}/Compute features are not supported for {0}/Feature {0} is not present for given account,/For feature = {0}, parent feature state is {1}/Organisation / Master Service Account / Tenant Id {0} should not be part of memberIds list/AccountType of member account {0} is invalid. Member accountType should be of type {1}/
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '401':
          description: Unauthorized Access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '403':
          description: Tenant License Expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '404':
          description: Tenant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '405':
          description: Wrong Http Method
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '425':
          description: Too Early to access the resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
        '429':
          description: Rate Limit Exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestAPIErrorResponse'
      x-public: 'true'
      security:
      - x-redlock-auth: []
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /cas/v1/features/cloud/{cloud_type}:
    post:
      tags:
      - Cloud Accounts (All)
      summary: Fetch Supported Features For Cloud Type
      description: "Lists the features supported for the specified cloud type and account type. \n\n The response contains *supportedFeatures* key whose value contains supported feature names. This feature name can be used in the onboarding APIs to enable the required features.\n\n  **NOTE**: The supportedFeatures returns \"Cloud Visibility Compliance and Governance\" string by default. Do not explicitly pass this string as a feature in the request body param in any cloud account API(Like in Add AWS Cloud Account, Update AWS Cloud Account,Generate and Download the AWS CFT Template, etc)."
      operationId: fetch-supported-features
      parameters:
      - name: cloud_type
        in: path
        required: true
        schema:
          type: string
          example: null
          enum:
          - aws
          - azure
          - gcp
          - alibaba
          - oci
          - ibm
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeaturesAvailableRequest'
        required: true
      responses:
        '200':
          description: Features supported for the cloud type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeaturesAvailableResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized Access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Tenant License Expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '405':
          description: Wrong Http Method
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '425':
          description: Too Early to access the resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate Limit Exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-public: 'true'
      security:
      - x-redlock-auth: []
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
  /config/v3/account:
    post:
      summary: Save Account Config With Given Attributes
      description: Saves account config with the values provided in the JSON payload and returns the config.
      operationId: save-account-config
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountConfig'
      responses:
        '200':
          description: success
          content:
            application/json: {}
        '400':
          description: bad_request
      x-public: 'true'
      security:
      - x-redlock-auth: []
      tags:
      - Cloud Accounts (All)
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
    - url: https://api.anz.prismacloud.io
    - url: https://api.eu.prismacloud.io
    - url: https://api2.eu.prismacloud.io
    - url: https://api.gov.prismacloud.io
    - url: https://api.prismacloud.cn
    - url: https://api.ca.prismacloud.io
    - url: https://api.sg.prismacloud.io
    - url: https://api.uk.prismacloud.io
    - url: https://api.ind.prismacloud.io
    - url: https://api.jp.prismacloud.io
    - url: https://api.fr.prismacloud.io
components:
  schemas:
    CloudAccountIdentity:
      type: object
      properties:
        id:
          type: string
          description: ID of Account/ Project/ Master Service Account/ Organization
        name:
          type: string
          description: Name of Account/ Project/ Master Service Account/ Organization
        cloudType:
          type: string
          description: Cloud Type of Account/ Project/ Master Service Account/ Organization
          enum:
          - ALL
          - AWS
          - AZURE
          - GCP
          - ALIBABA_CLOUD
          - OCI
          - IBM
        parentAccountName:
          type: string
          description: Parent Org Name of Account/ Project
      description: Model for Cloud Account Identity
    AccountListRequestModel:
      type: object
      required:
      - timeRange
      properties:
        accountIds:
          type: array
          description: List of account IDs
          items:
            type: string
        accountGroupIds:
          type: array
          description: List of account group IDs
          items:
            type: string
        aggregate:
          type: boolean
          description: true = aggregate
        filterKey:
          type: string
          description: Filter key
        filterValue:
          type: string
          description: Filter value
        groupBy:
          type: string
          description: Group items by this value
        limit:
          type: integer
          format: int32
          description: Limit of items per request. Default is 1000.
        timeRange:
          $ref: '#/components/schemas/TimeRangeConfigModel'
        cloudType:
          type: string
        csvHeaderRequired:
          type: boolean
      description: Model for AccountListRequest
    CloudAccountModel:
      type: object
      properties:
        accountType:
          type: string
          description: Cloud Account Type
          readOnly: true
          enum:
          - ACCOUNT
          - MASTER_SERVICE_ACCOUNT
          - COMPARTMENT
          - ORGANIZATION
          - TENANT
        cloudType:
          type: string
          description: Cloud Type
          readOnly: true
          enum:
          - ALL
          - AWS
          - AZURE
          - GCP
          - ALIBABA_CLOUD
          - OCI
          - OTHER
        lastModifiedBy:
          type: string
          description: Last Modified By
          readOnly: true
        lastModifiedTs:
          type: integer
          format: int64
          description: Time account was last updated
          readOnly: true
        protectionMode:
          type: string
          description: Protection Mode
          readOnly: true
          enum:
          - MONITOR
          - MONITOR_AND_PROTECT
        groupIds:
          type: array
          description: Group Ids
          readOnly: true
          items:
            type: string
        storageScanEnabled:
          type: boolean
          description: Storage Scan Enabled
        deploymentType:
          type: string
          description: Deployment Type
          enum:
          - AZURE
          - AZURE_GOVERNMENT
          - AZURE_CHINA
          - AWS
          - AWS_GOVERNMENT
          - AWS_CHINA
          - OCI
          - OCI_GOVERNMENT
          - OCI_CHINA
          - GCP
          - GCP_GOVERNMENT
          - GCP_CHINA
          - ALIBABA_CLOUD
          - ALIBABA_CLOUD_GOVERNMENT
          - ALIBABA_CLOUD_CHINA
          - ALIBABA_CLOUD_FINANCE
        accountGroupInfos:
          type: array
          description: Account group details of groups associated with this account
          items:
            $ref: '#/components/schemas/AccountGroupInfo'
        autoConsent:
          type: string
        cloudAccountOwner:
          type: string
          description: Cloud account owner
        cloudAccountOwnerCount:
          type: integer
          format: int32
          description: Cloud account owner count
          readOnly: true
        st

# --- truncated at 32 KB (51 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/openapi/palo-alto-networks-cloud-accounts-all-api-openapi.yml