Palo Alto Networks · Capability

Palo Alto Networks SASE IAM Service API — Service Accounts

Palo Alto Networks SASE IAM Service API — Service Accounts. 7 operations. Lead operation: Palo Alto Networks List Service Accounts. Self-contained Naftiko capability covering one Palo Alto Networks business surface.

Run with Naftiko Palo Alto NetworksService Accounts

What You Can Do

GET
Listserviceaccounts — Palo Alto Networks List Service Accounts
/v1/service-accounts
POST
Createserviceaccount — Palo Alto Networks Create Service Account
/v1/service-accounts
GET
Getserviceaccount — Palo Alto Networks Get Service Account
/v1/service-accounts/{id}
PUT
Updateserviceaccount — Palo Alto Networks Update Service Account
/v1/service-accounts/{id}
DELETE
Deleteserviceaccount — Palo Alto Networks Delete Service Account
/v1/service-accounts/{id}
POST
Generateserviceaccountcredentials — Palo Alto Networks Generate Service Account Credentials
/v1/service-accounts/{id}/keys
DELETE
Revokeserviceaccountkey — Palo Alto Networks Revoke Service Account Key
/v1/service-accounts/{id}/keys/{key-id}

MCP Tools

palo-alto-networks-list-service

Palo Alto Networks List Service Accounts

read-only idempotent
palo-alto-networks-create-service

Palo Alto Networks Create Service Account

palo-alto-networks-get-service

Palo Alto Networks Get Service Account

read-only idempotent
palo-alto-networks-update-service

Palo Alto Networks Update Service Account

idempotent
palo-alto-networks-delete-service

Palo Alto Networks Delete Service Account

idempotent
palo-alto-networks-generate-service

Palo Alto Networks Generate Service Account Credentials

palo-alto-networks-revoke-service

Palo Alto Networks Revoke Service Account Key

idempotent

Capability Spec

palo-alto-sase-iam-service-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Palo Alto Networks SASE IAM Service API — Service Accounts
  description: 'Palo Alto Networks SASE IAM Service API — Service Accounts. 7 operations. Lead operation: Palo Alto Networks
    List Service Accounts. Self-contained Naftiko capability covering one Palo Alto Networks business surface.'
  tags:
  - Palo Alto Networks
  - Service Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PALO_ALTO_NETWORKS_API_KEY: PALO_ALTO_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: palo-alto-sase-iam-service-accounts
    baseUri: https://api.sase.paloaltonetworks.com/iam/v1
    description: Palo Alto Networks SASE IAM Service API — Service Accounts business capability. Self-contained, no shared
      references.
    resources:
    - name: service-accounts
      path: /service-accounts
      operations:
      - name: listserviceaccounts
        method: GET
        description: Palo Alto Networks List Service Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tsg_id
          in: query
          type: string
          description: Filter service accounts by Tenant Service Group ID.
        - name: offset
          in: query
          type: integer
          description: Number of results to skip for pagination.
        - name: limit
          in: query
          type: integer
          description: Maximum number of service accounts to return.
      - name: createserviceaccount
        method: POST
        description: Palo Alto Networks Create Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: service-accounts-id
      path: /service-accounts/{id}
      operations:
      - name: getserviceaccount
        method: GET
        description: Palo Alto Networks Get Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the service account.
          required: true
      - name: updateserviceaccount
        method: PUT
        description: Palo Alto Networks Update Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the service account to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteserviceaccount
        method: DELETE
        description: Palo Alto Networks Delete Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the service account to delete.
          required: true
    - name: service-accounts-id-keys
      path: /service-accounts/{id}/keys
      operations:
      - name: generateserviceaccountcredentials
        method: POST
        description: Palo Alto Networks Generate Service Account Credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the service account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: service-accounts-id-keys-key_id
      path: /service-accounts/{id}/keys/{key_id}
      operations:
      - name: revokeserviceaccountkey
        method: DELETE
        description: Palo Alto Networks Revoke Service Account Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the service account.
          required: true
        - name: key_id
          in: path
          type: string
          description: Unique identifier of the key to revoke.
          required: true
    authentication:
      type: bearer
      token: '{{env.PALO_ALTO_NETWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: palo-alto-sase-iam-service-accounts-rest
    port: 8080
    description: REST adapter for Palo Alto Networks SASE IAM Service API — Service Accounts. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/service-accounts
      name: service-accounts
      description: REST surface for service-accounts.
      operations:
      - method: GET
        name: listserviceaccounts
        description: Palo Alto Networks List Service Accounts
        call: palo-alto-sase-iam-service-accounts.listserviceaccounts
        with:
          tsg_id: rest.tsg_id
          offset: rest.offset
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccount
        description: Palo Alto Networks Create Service Account
        call: palo-alto-sase-iam-service-accounts.createserviceaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/service-accounts/{id}
      name: service-accounts-id
      description: REST surface for service-accounts-id.
      operations:
      - method: GET
        name: getserviceaccount
        description: Palo Alto Networks Get Service Account
        call: palo-alto-sase-iam-service-accounts.getserviceaccount
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateserviceaccount
        description: Palo Alto Networks Update Service Account
        call: palo-alto-sase-iam-service-accounts.updateserviceaccount
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteserviceaccount
        description: Palo Alto Networks Delete Service Account
        call: palo-alto-sase-iam-service-accounts.deleteserviceaccount
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/service-accounts/{id}/keys
      name: service-accounts-id-keys
      description: REST surface for service-accounts-id-keys.
      operations:
      - method: POST
        name: generateserviceaccountcredentials
        description: Palo Alto Networks Generate Service Account Credentials
        call: palo-alto-sase-iam-service-accounts.generateserviceaccountcredentials
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/service-accounts/{id}/keys/{key-id}
      name: service-accounts-id-keys-key-id
      description: REST surface for service-accounts-id-keys-key_id.
      operations:
      - method: DELETE
        name: revokeserviceaccountkey
        description: Palo Alto Networks Revoke Service Account Key
        call: palo-alto-sase-iam-service-accounts.revokeserviceaccountkey
        with:
          id: rest.id
          key_id: rest.key_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: palo-alto-sase-iam-service-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Palo Alto Networks SASE IAM Service API — Service Accounts. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: palo-alto-networks-list-service
      description: Palo Alto Networks List Service Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-sase-iam-service-accounts.listserviceaccounts
      with:
        tsg_id: tools.tsg_id
        offset: tools.offset
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-create-service
      description: Palo Alto Networks Create Service Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: palo-alto-sase-iam-service-accounts.createserviceaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-get-service
      description: Palo Alto Networks Get Service Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-sase-iam-service-accounts.getserviceaccount
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-update-service
      description: Palo Alto Networks Update Service Account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: palo-alto-sase-iam-service-accounts.updateserviceaccount
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-delete-service
      description: Palo Alto Networks Delete Service Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: palo-alto-sase-iam-service-accounts.deleteserviceaccount
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-generate-service
      description: Palo Alto Networks Generate Service Account Credentials
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: palo-alto-sase-iam-service-accounts.generateserviceaccountcredentials
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-revoke-service
      description: Palo Alto Networks Revoke Service Account Key
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: palo-alto-sase-iam-service-accounts.revokeserviceaccountkey
      with:
        id: tools.id
        key_id: tools.key_id
      outputParameters:
      - type: object
        mapping: $.