Palo Alto Networks Roles API
The Roles API from Palo Alto Networks — 2 operation(s) for roles.
The Roles API from Palo Alto Networks — 2 operation(s) for roles.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/palo-alto-networks-roles-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Palo Alto Networks Roles API
version: '1.0'
description: 'Operations tagged Roles across 4 of this provider''s published API definitions: palo-alto-networks-roles-api-openapi.yml, palo-alto-sase-iam-api-openapi-original.yml, palo-alto-sase-iam-roles-openapi.yaml, palo-alto-scm-iam-roles-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.stratacloud.paloaltonetworks.com/aiops/bpa/v1
description: AIOps for NGFW BPA API production server.
- url: https://api.sase.paloaltonetworks.com/iam/v1
description: SASE IAM Service API production server.
- url: https://api.sase.paloaltonetworks.com
tags:
- name: Roles
description: Available IAM roles and their permissions.
paths:
/roles:
get:
operationId: listRoles
summary: Palo Alto Networks List Available Roles
description: Returns the list of available IAM roles that can be assigned in access policies. Each role defines a set of API permissions for specific SASE services and operations.
tags:
- Roles
responses:
'200':
description: Available roles returned.
content:
application/json:
schema:
type: object
properties:
total:
type: integer
items:
type: array
items:
$ref: '#/components/schemas/Role'
examples:
ListRoles200Example:
summary: Default listRoles 200 response
x-microcks-default: true
value:
total: 293
items:
- id: example-id
name: Branch Policy 17
display_name: Carlos Garcia
description: Alert network suspicious applied blocked detected.
permissions:
- example-permissions_item
- example-permissions_item
'401':
description: Invalid or missing Bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
ListRoles401Example:
summary: Default listRoles 401 response
x-microcks-default: true
value:
error: example-error
message: Malware endpoint traffic incident on on traffic rule endpoint traffic.
request_id: 1e1e39dd-16dd-4699-a272-365b75e92268
'403':
description: Insufficient permissions.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
ListRoles403Example:
summary: Default listRoles 403 response
x-microcks-default: true
value:
error: example-error
message: Malware endpoint traffic incident on on traffic rule endpoint traffic.
request_id: 1e1e39dd-16dd-4699-a272-365b75e92268
'500':
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
ListRoles500Example:
summary: Default listRoles 500 response
x-microcks-default: true
value:
error: example-error
message: Malware endpoint traffic incident on on traffic rule endpoint traffic.
request_id: 1e1e39dd-16dd-4699-a272-365b75e92268
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
security:
- oauth2Bearer: []
servers:
- url: https://api.stratacloud.paloaltonetworks.com/aiops/bpa/v1
description: AIOps for NGFW BPA API production server.
/iam/v1/roles:
get:
description: 'Retrieve a list of all roles.
'
operationId: get-iam-v1-roles
responses:
'200':
$ref: '#/components/responses/roles_list'
security:
- Bearer: []
summary: List all roles
tags:
- Roles
servers:
- url: https://api.sase.paloaltonetworks.com
/iam/v1/roles/{name}:
get:
description: 'Get a specified role.
'
operationId: get-iam-v1-roles-name
parameters:
- description: Role Name
in: path
name: name
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/role'
description: Successful response - returns a single `role`.
security:
- Bearer: []
summary: Get a role
tags:
- Roles
servers:
- url: https://api.sase.paloaltonetworks.com
components:
schemas:
ErrorResponse:
type: object
properties:
error:
type: string
description: Error code identifying the error type.
example: example-error
message:
type: string
description: Human-readable description of the error.
example: Malware endpoint traffic incident on on traffic rule endpoint traffic.
request_id:
type: string
description: Request identifier for support correlation.
example: 1e1e39dd-16dd-4699-a272-365b75e92268
Role:
type: object
properties:
id:
type: string
description: Unique identifier of the role.
example: example-id
name:
type: string
description: Role name (e.g., superuser, network_admin, readonly).
example: Branch Policy 17
display_name:
type: string
description: Human-readable role display name.
example: Carlos Garcia
description:
type: string
description: Description of the permissions granted by this role.
example: Alert network suspicious applied blocked detected.
permissions:
type: array
items:
type: string
description: List of permission identifiers included in this role.
example:
- example-permissions_item
- example-permissions_item
_pagination:
properties:
count:
default: 1
description: Total count of the items
type: integer
required:
- count
- items
type: object
role:
example:
aggregated_permissions:
- prisma_access.config.get
- iam.service_account.create
- iam.access_policy.create
app_id: app_id
description: Full access to all functions.
label: Superuser
name: superuser
permission_sets:
- access_type: read
id: prisma_access.config
permissions:
- iam.service_account.create
- iam.access_policy.create
properties:
aggregated_permissions:
description: 'Identifies all permissions available to this TSG. This is a union of the permissions available to the
TSG, as well as the permissions available to its child TSGs.
'
items:
type: string
type: array
description:
description: ''
type: string
label:
description: 'The text displayed in the user interface for this role.
'
type: string
name:
description: 'The role name.
'
type: string
permission_sets:
items:
$ref: '#/components/schemas/permission_set_access'
type: array
permissions:
description: 'The permissions granted to this role.
'
items:
type: string
type: array
required:
- label
title: Root Type for role
type: object
permission_set_access:
description: A permission set that you want to grant to this custom role. Permission sets are maintained by Palo Alto Networks. Use permission sets for a custom role if you are using it to grant a user access who uses the UI.
example:
access_types:
- read
id: iam.management
properties:
access_types:
description: 'The type of access (`read` and/or `write`) granted for this permission set.
'
items:
type: string
type: array
id:
description: "The ID of a permission set included in this custom role. \n"
type: string
title: Root Type for permission_set_access
type: object
responses:
roles_list:
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/_pagination'
- properties:
items:
items:
allOf:
- $ref: '#/components/schemas/role'
type: array
type: object
description: Successful response.
securitySchemes:
oauth2Bearer:
type: http
scheme: bearer
bearerFormat: JWT
description: OAuth 2.0 Bearer token for SASE platform authentication. Obtain using the client_credentials grant with your SASE service account client ID and client secret.
Bearer:
scheme: bearer
type: http
x-refined-from:
- palo-alto-networks-roles-api-openapi.yml
- palo-alto-sase-iam-api-openapi-original.yml
- palo-alto-sase-iam-roles-openapi.yaml
- palo-alto-scm-iam-roles-openapi.yaml