Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WSO2 Governance Policies API

for managing governance policies.

WSO2 Governance Policies API is one of 90 APIs that WSO2 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Governance Policies. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version v4.

Requests are made against a single base URL, https://apis.wso2.com/api/am/admin/v4.

5 operations 2 paths 5 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
v4
Base URL
https://apis.wso2.com
Authentication
OAuth 2.0
Contact
License
Resource Areas
1

Authentication & Security 1

WSO2 Governance Policies API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2Security) using the password flow, exposing 41 scopes.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Governance Policies 5

for managing governance policies.

GET
/policies
Retrieves a list of all governance policies.
getGovernancePolicies 3 params → 200400401403500
POST
/policies
Creates a new governance policy.
createGovernancePolicy body → 201400401403500
GET
/policies/{policyId}
Get a specific governance policy
getGovernancePolicyById 1 param → 200400401403500
PUT
/policies/{policyId}
Update a specific governance policy
updateGovernancePolicyById 1 param body → 200400401403500
DELETE
/policies/{policyId}
Delete a specific governance policy
deleteGovernancePolicy 1 param → 204400401403500

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are APIMGovernancePolicy (11 properties), Pagination (5 properties), Action (3 properties), Error (3 properties). Each schema is shown below with its type and property counts.

Pagination
object
5 properties
APIMGovernancePolicyList
object
A list of governance policies.
3 properties
Error
object
3 properties 2 required
APIMGovernancePolicy
object
Detailed information about a governance policy.
11 properties 5 required
Action
object
Action to be taken when a governance policy is violated.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wso2-governance-policies-api-openapi.yml Raw ↑

Other APIs WSO2 publishes across the network.

WSO2 Advanced Policy (Collection) API
WSO2 Advanced Policy (Individual) API
WSO2 AIServiceProvider API
WSO2 AIServiceProviders API
WSO2 Alert Subscriptions API
WSO2 Alerts API
WSO2 Api Artifact API
WSO2 API Categories API
WSO2 API Category (Collection) API
WSO2 API Category (Individual) API
WSO2 API Chat API
WSO2 API Documents API