Palo Alto Networks Collections API

{'$ref': 'desc/collections/collections.md'}

GitHub OpenAPI

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v34.03/collections List Compute collections (v34.03) · Get Collections #
Ask an LLM
“Which Compute collections exist when I call the v34.03 API?”
“Can I leave out collections that came from Prisma Cloud on v34.03?”
Tell an agent
List all Compute collections using API v34.03.
Get v34.03 collections with excludePrisma set to {excludePrisma}.
POST /api/v34.03/collections Add a Compute collection (v34.03) · Add a New Collection #
Ask an LLM
“How do I group images and hosts into a new collection on v34.03?”
“Must a collection name be unique when I add one through v34.03?”
Tell an agent
Add a v34.03 collection named {name} covering images {images}.
Via v34.03, create collection {name} scoped to clusters {clusters} and namespaces {namespaces}.
DELETE /api/v34.03/collections/{id} Delete a Compute collection (v34.03) · Delete an Existing Collection #
Ask an LLM
“How do I delete a Compute collection with the v34.03 API?”
“Can v34.03 remove a collection I no longer scope policies to?”
Tell an agent destructive · confirm first
Delete v34.03 collection {id}.
Remove Compute collection {id} through API version 34.03.
PUT /api/v34.03/collections/{id} Update a Compute collection (v34.03) · Update an Existing Collection #
Ask an LLM
“Can I change which hosts belong to an existing collection on v34.03?”
“How do I edit a collection's labels through the v34.03 API?”
Tell an agent
Update v34.03 collection {id} to include hosts {hosts}.
Using v34.03, set the labels of collection {id} to {labels}.
GET /api/v34.03/collections/{id}/usages See which policies use a collection (v34.03) · Get Policies for a Collection #
Ask an LLM
“Which policies reference a given collection, using v34.03?”
“Before deleting a collection, can v34.03 tell me where it's used?”
Tell an agent
List the policies that use collection {id} via v34.03.
Show v34.03 usages of collection {id}.
GET /api/v34.04/collections List Compute collections (v34.04) · Get Collections #
Ask an LLM
“What collections are configured in Compute on the v34.04 API?”
“Can I fetch only Prisma Cloud-originated collections on version 34.04?”
Tell an agent
Retrieve every collection from the v34.04 Compute endpoint.
Get collections on v34.04 filtered by prisma={prisma}.
POST /api/v34.04/collections Add a Compute collection (v34.04) · Add a New Collection #
Ask an LLM
“How do I create a collection of containers and functions on v34.04?”
“Can a v34.04 collection be scoped to cloud account IDs?”
Tell an agent
Create collection {name} with the v34.04 API.
On v34.04, add collection {name} for account IDs {accountIDs} and functions {functions}.
DELETE /api/v34.04/collections/{id} Delete a Compute collection (v34.04) · Delete an Existing Collection #
Ask an LLM
“Is there a v34.04 call to permanently delete a collection?”
“How do I drop an unused Compute collection on the current API version?”
Tell an agent destructive · confirm first
Delete collection {id} using the v34.04 Compute API.
Drop Compute collection {id} (v34.04).
PUT /api/v34.04/collections/{id} Update a Compute collection (v34.04) · Update an Existing Collection #
Ask an LLM
“How do I change the containers in an existing collection on version 34.04?”
“Can v34.04 update a collection's description and color?”
Tell an agent
With v34.04, set containers {containers} on collection {id}.
Change the description of v34.04 collection {id} to {description}.
GET /api/v34.04/collections/{id}/usages See which policies use a collection (v34.04) · Get Policies for a Collection #
Ask an LLM
“What policies depend on this collection in v34.04?”
“Can I get the policy usages of a collection from the v34.04 API?”
Tell an agent
With v34.04, show which policies reference collection {id}.
Get policy usages for collection {id} on API v34.04.
GET /entitlement/api/v1/collection/{id} Get an asset-group collection by ID · Get Collection by ID #
Ask an LLM
“How do I see the asset groups inside one entitlement collection?”
“Who created and last modified a given Darwin collection?”
Tell an agent
Get all details of entitlement collection {id}.
Show the asset groups in Darwin collection {id}.
PUT /entitlement/api/v1/collection/{id} Update an asset-group collection · Update Collection #
Ask an LLM
“Can I change the asset groups in an entitlement collection?”
“How do I rename a collection on the Darwin release?”
Tell an agent
Rename entitlement collection {id} to {name}.
Replace the asset groups of Darwin collection {id} with {assetGroups}.
DELETE /entitlement/api/v1/collection/{id} Delete an asset-group collection · Delete Collection #
Ask an LLM
“How do I delete an entitlement collection on the Darwin release?”
“Can I remove a collection of asset groups by its ID?”
Tell an agent destructive · confirm first
Delete entitlement collection {id}.
Remove the Darwin asset-group collection {id}.
GET /entitlement/api/v1/collection List asset-group collections · Get All Collections #
Ask an LLM
“What entitlement collections do I have, and how many can I fetch per page?”
“Can I list Darwin collections without their asset groups to keep responses small?”
Tell an agent
List entitlement collections, {page_size} per page, ordered by {order_by}.
Fetch the next page of Darwin collections using token {next_page_token}.
POST /entitlement/api/v1/collection Create an asset-group collection · Create Collection #
Ask an LLM
“How do I create an entitlement collection made of asset group types?”
“Can I use a wildcard to include every ID of an asset group type in a new collection?”
Tell an agent
Create entitlement collection {name} with asset groups {assetGroups}.
Set up a Darwin collection {name} described as {description}.

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:palo-alto-networks-collections-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

palo-alto-networks-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Collections API
  x-refined-note:
  - x-description-source differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Collections across 3 of this provider''s published API definitions: palo-alto-compute-34-03-openapi-34-03-138-sh-openapi.json, palo-alto-compute-openapi-34-04-145-sh-openapi.json, palo-alto-cspm-collectionsmicroservice-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: Collections
  description: Collections. 5 operations in this definition.
  x-description-source: desc/collections/collections.md
paths:
  /api/v34.03/collections:
    get:
      description: 'Get Collections. GET /api/v34.03/collections on the Collections API. Takes 3 query parameters. Documented responses: 200.'
      parameters:
      - description: 'ExcludePrisma indicates to exclude Prisma collections.

          '
        in: query
        name: excludePrisma
        schema:
          type: boolean
      - description: 'Prisma filters the collections originates from Prisma Cloud.

          '
        in: query
        name: prisma
        schema:
          type: boolean
      - description: 'System.

          '
        in: query
        name: system
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_collection.Collection'
          description: ''
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: get-collections
      summary: Get Collections
      x-description-source: desc/collections/get.md
    post:
      description: 'Add a New Collection. POST /api/v34.03/collections on the Collections API. Takes an optional request body. Documented responses: 200.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/collection.Collection'
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: post-collections
      summary: Add a New Collection
      x-description-source: desc/collections/post.md
  /api/v34.03/collections/{id}:
    delete:
      description: 'Delete an Existing Collection. DELETE /api/v34.03/collections/{id} on the Collections API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: delete-collections-id
      summary: Delete an Existing Collection
      x-description-source: desc/collections/name_delete.md
    put:
      description: 'Update an Existing Collection. PUT /api/v34.03/collections/{id} on the Collections API. Takes 1 path parameter, an optional request body. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/collection.Collection'
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: put-collections-id
      summary: Update an Existing Collection
      x-description-source: desc/collections/name_put.md
  /api/v34.03/collections/{id}/usages:
    get:
      description: 'Get Policies for a Collection. GET /api/v34.03/collections/{id}/usages on the Collections API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_collection.Usage'
          description: ''
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: get-collections-id-usages
      summary: Get Policies for a Collection
      x-description-source: desc/collections/name_usages_get.md
  /api/v34.04/collections:
    get:
      description: 'Get Collections. GET /api/v34.04/collections on the Collections API. Takes 3 query parameters. Documented responses: 200.'
      parameters:
      - description: 'ExcludePrisma indicates to exclude Prisma collections.

          '
        in: query
        name: excludePrisma
        schema:
          type: boolean
      - description: 'Prisma filters the collections originates from Prisma Cloud.

          '
        in: query
        name: prisma
        schema:
          type: boolean
      - description: 'System.

          '
        in: query
        name: system
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_collection.Collection'
          description: ''
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: getApiV3404Collections
      summary: Get Collections
      x-description-source: desc/collections/get.md
      x-operation-id-source: normalized
      x-operation-id-original: get-collections
    post:
      description: 'Add a New Collection. POST /api/v34.04/collections on the Collections API. Takes an optional request body. Documented responses: 200.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/collection.Collection'
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: postApiV3404Collections
      summary: Add a New Collection
      x-description-source: desc/collections/post.md
      x-operation-id-source: normalized
      x-operation-id-original: post-collections
  /api/v34.04/collections/{id}:
    delete:
      description: 'Delete an Existing Collection. DELETE /api/v34.04/collections/{id} on the Collections API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: deleteApiV3404CollectionsById
      summary: Delete an Existing Collection
      x-description-source: desc/collections/name_delete.md
      x-operation-id-source: normalized
      x-operation-id-original: delete-collections-id
    put:
      description: 'Update an Existing Collection. PUT /api/v34.04/collections/{id} on the Collections API. Takes 1 path parameter, an optional request body. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/collection.Collection'
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: putApiV3404CollectionsById
      summary: Update an Existing Collection
      x-description-source: desc/collections/name_put.md
      x-operation-id-source: normalized
      x-operation-id-original: put-collections-id
  /api/v34.04/collections/{id}/usages:
    get:
      description: 'Get Policies for a Collection. GET /api/v34.04/collections/{id}/usages on the Collections API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_collection.Usage'
          description: ''
        default:
          description: ''
      tags:
      - Collections
      x-prisma-cloud-target-env:
        permission: collections
      operationId: getApiV3404CollectionsByIdUsages
      summary: Get Policies for a Collection
      x-description-source: desc/collections/name_usages_get.md
      x-operation-id-source: normalized
      x-operation-id-original: get-collections-id-usages
  /entitlement/api/v1/collection/{id}:
    get:
      tags:
      - Collections
      summary: Get Collection by ID
      description: 'Returns all details of a Collection.

        :::info

        This endpoint is available on the Prisma Cloud Darwin release only.

        :::


        #### Rate Limits ####

        * Request rate limit: 8/sec

        * Burst Rate: 8/sec'
      externalDocs:
        url: entitlement/api/v1/collection/#id
        x-ga: 'false'
      operationId: get-collection-by-id
      parameters:
      - name: id
        in: path
        description: Collection Id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
        '200':
          description: Successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/Collection'
        4XX:
          description: Client error
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
        '429':
          description: API is rate limited
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
      security:
      - x-redlock-auth: []
      x-ga: 23.10.2-darwin
      x-public: 'true'
    put:
      tags:
      - Collections
      summary: Update Collection
      description: 'Update Collection or Asset Groups details.

        :::info

        This endpoint is available on the Prisma Cloud Darwin release only.

        :::'
      externalDocs:
        url: entitlement/api/v1/collection/#id
        x-ga: 'false'
      operationId: update-collection-by-id
      parameters:
      - name: id
        in: path
        description: Collection Id
        required: true
        schema:
          type: string
      requestBody:
        description: Collections Data Model
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Collection'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        4XX:
          description: Client error
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
        '429':
          description: API is rate limited
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
      security:
      - x-redlock-auth: []
      x-ga: 23.10.2-darwin
      x-public: 'true'
    delete:
      tags:
      - Collections
      summary: Delete Collection
      description: 'Deletes a Collection with the specified ID.

        :::info

        This endpoint is available on the Prisma Cloud Darwin release only.

        :::'
      externalDocs:
        url: entitlement/api/v1/collection/#id
        x-ga: 'false'
      operationId: delete-collection-by-id
      parameters:
      - name: id
        in: path
        description: Collection Id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
        '204':
          description: Successful operation
        4XX:
          description: Client error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
        '429':
          description: API is rate limited
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
      security:
      - x-redlock-auth: []
      x-ga: 23.10.2-darwin
      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
  /entitlement/api/v1/collection:
    get:
      tags:
      - Collections
      summary: Get All Collections
      description: 'Returns all Collections in a paginated format, sorted by ID desc.

        :::info

        This endpoint is available on the Prisma Cloud Darwin release only.

        :::


        #### Rate Limits ####

        * Request rate limit: 4/sec

        * Burst Rate: 4/sec'
      externalDocs:
        url: entitlement/api/v1/collection
        x-ga: 'false'
      operationId: get-all-collections
      parameters:
      - name: exclude_asset_group
        in: query
        description: Exclude AssetGroup from response.
        required: false
        schema:
          type: boolean
      - name: page_size
        in: query
        description: Number of records per page. Default is 50 and max is 500.
        required: false
        schema:
          type: integer
          format: int32
      - name: order_by
        in: query
        description: Order by records based of ID, NAME, LAST_MODIFIED_TS.
        required: false
        schema:
          type: string
      - name: next_page_token
        in: query
        description: Token to fetch next page  Collections.
        required: false
        schema:
          type: string
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
        '200':
          description: Successful operation
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/PrismaCollectionView'
        4XX:
          description: Client error
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
        '429':
          description: API is rate limited
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
      security:
      - x-redlock-auth: []
      x-ga: 23.10.2-darwin
      x-public: 'true'
    post:
      tags:
      - Collections
      summary: Create Collection
      description: 'Create a new Collection comprising of Asset Group Types. You can use ''*'' to include all Ids for a given assetGroupType.

        :::info

        This endpoint is available on the Prisma Cloud Darwin release only.

        :::'
      externalDocs:
        url: entitlement/api/v1/collection
        x-ga: 'false'
      operationId: create-collection
      requestBody:
        description: Collections Data Model
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Collection'
            examples:
              CREATE COLLECTION:
                description: "Create a new Collection comprising of Asset Group Types. You can use '*' to include all Ids for a given assetGroupType. \nIn the below examples all accountIds will be included."
                value:
                  name: test-collection
                  description: test description
                  assetGroups:
                    accountGroupIds:
                    - ag1
                    - ag2
                    repositoryIds:
                    - r1
                    - r2
                    accountIds:
                    - '*'
        required: true
      responses:
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
        '201':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        4XX:
          description: Client error
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
        '429':
          description: API is rate limited
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SpringErrorResponse'
      security:
      - x-redlock-auth: []
      x-ga: 23.10.2-darwin
      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
components:
  schemas:
    string:
      type: string
    collection.UsageType:
      description: UsageType represents a collection usage type
      enum:
      - - policy
        - settings
        - user
        - group
        - registryScan
      type: string
    -_collection.Usage:
      items:
        $ref: '#/components/schemas/collection.Usage'
      type: array
    collection.Usage:
      description: Usage represents details of a collection being used
      properties:
        name:
          description: 'Name of the consumer (e.g., container runtime, username, etc.).

            '
          type: string
        type:
          $ref: '#/components/schemas/collection.UsageType'
      type: object
    common.Color:
      description: Color is a hexadecimal representation of color code value
      type: string
    collection.Collection:
      description: Collection is a collection of resources
      properties:
        accountIDs:
          description: 'List of account IDs.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        appIDs:
          description: 'List of application IDs.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        clusters:
          description: 'List of Kubernetes cluster names.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        color:
          $ref: '#/components/schemas/common.Color'
        containers:
          description: 'List of containers.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        description:
          description: 'Free-form text.

            '
          type: string
        functions:
          description: 'List of functions.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        hosts:
          description: 'List of  hosts.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        images:
          description: 'List of images.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        labels:
          description: 'List of labels.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        modified:
          description: 'Datetime when the collection was last modified.

            '
          format: date-time
          type: string
        name:
          description: 'Collection name. Must be unique.

            '
          type: string
        namespaces:
          description: 'List of Kubernetes namespaces.

            '
          items:
            $ref: '#/components/schemas/string'
          type: array
        owner:
          description: 'User who created or last modified the collection.

            '
          type: string
        prisma:
          description: 'Indicates whether this collection originates from Prisma Cloud.

            '
          type: boolean
        system:
          description: 'Indicates whether this collection was created by the system (i.e., a non user) (true) or a real user (false).

            '
          type: boolean
      type: object
    -_collection.Collection:
      items:
        $ref: '#/components/schemas/collection.Collection'
      type: array
    ErrorDetails:
      required:
      - message
      - name
      type: object
      properties:
        name:
          type: string
        message:
          type: string
    PrismaCollectionView:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/Collection'
        nextPageToken:
          type: string
    Collection:
      type: object
      properties:
        id:
          type: string
          description: Collection id
          readOnly: true
        name:
          type: string
          description: Collection name
        description:
          type: string
          description: Collection description
        createdBy:
          type: string
          description: User who created the collection
          readOnly: true
        lastModifiedBy:
          type: string
          description: 'User who last updated the collection '
          readOnly: true
        createdTs:
          type: integer
          description: Collection created date
          format: int64
          readOnly: true
        lastModifiedTs:
          type: integer
          description: Collection last updated date
          format: int64
          readOnly: true
        assetGroups:
          $ref: '#/components/schemas/AssetGroup'
      description: Collections Data Model
    AssetGroup:
      type: object
      properties:
        accountGroupIds:
          maxItems: 5
          type: array
          items:
            type: string
        accountIds:
          maxItems: 1000
          type: array
          items:
            type: string
        repositoryIds:
          maxItems: 1000
          type: array
          items:
            type: string
      description: AssetGroup that are part of Collection
    SpringErrorResponse:
      required:
      - error
      - httpStatus
      - message
      - path
      - timestamp
      type: object
      properties:
        timestamp:
          type: string
        httpStatus:
          type: integer
          format: int32
        error:
          type: string
        errorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetails'
        message:
          type: string
        path:
          type: string
  securitySchemes:
    x-redlock-auth:
      description: The x-redlock-auth value is a JSON Web Token (JWT).
      in: header
      name: x-redlock-auth
      type: apiKey
externalDocs:
  description: Platform Wiki Documentation
  url: https://redlock.atlassian.net/wiki/spaces/RED/pages/3211854036/Entitlement+service
x-refined-from:
- palo-alto-compute-34-03-openapi-34-03-138-sh-openapi.json
- palo-alto-compute-openapi-34-04-145-sh-openapi.json
- palo-alto-cspm-collectionsmicroservice-openapi.json