Ana içeriğe geç

Overview Details

Base URL​

The Management API base URL is constructed by appending /apiops to your Apinizer Manager application URL:

{management_console_url}/apiops/

Example​

  • Manager URL: https://demo.apinizer.com
  • API Base URL: https://demo.apinizer.com/apiops/

Authentication​

All endpoints (except the test endpoint) require authentication using a Personal API Access Token. The token must be included in the Authorization header:

Authorization: Bearer YOUR_TOKEN

See Authentication for details on obtaining a token.

API Versioning​

The current API version is v1. All endpoints are under the /apiops/ path.

Response Format​

Success Response​

Most endpoints return a standard success response:

{
"status": "SUCCESS",
"resultList": [...],
"resultCount": 1
}

Error Response​

Management API error responses use this format:

{
"status": "FAILURE",
"resultMessage": "Human-readable error message"
}

The token endpoint (POST /apiops/auth/token) uses OAuth-style error and error_description fields instead.

See Error Handling for details on error codes and handling.

HTTP Methods​

The API uses standard HTTP methods:

  • GET - Retrieve resources
  • POST - Create resources
  • PUT - Update resources (full update)
  • PATCH - Partial update (where supported)
  • DELETE - Delete resources

Content Types​

  • Request: application/json (for POST/PUT requests)
  • Response: application/json

Common Headers​

Request Headers​

HeaderRequiredDescription
AuthorizationYesBearer token for authentication
Content-TypeYes (POST/PUT)application/json

Response Headers​

HeaderDescription
Content-Typeapplication/json;charset=UTF-8

Path Parameters​

Path parameters are used in URL paths:

/apiops/projects/{projectName}/apiProxies/{apiProxyName}/

Where {projectName} and {apiProxyName} are path parameters.

Query Parameters​

Query parameters are optional and used for filtering, pagination, etc.:

/apiops/projects/?page=1&size=10

Permissions​

The Management API uses project-based permission system. All endpoints require authentication and appropriate permissions:

Permission Model​

  • GET Operations: User must have any permission in the project (read access)
  • POST/PUT/DELETE/PATCH Operations: User must have specific category and action permissions:
    • API Management (API_MANAGEMENT + MANAGE): Required for API Proxy and Policy operations
    • Connections (CONNECTIONS + MANAGE): Required for Connection operations
    • Identity (IDENTITY + MANAGE): Required for Credential operations
  • Deployment Operations: Requires additional DEPLOY_UNDEPLOY permission in addition to the base permission

Permission Categories​

CategoryDescriptionUsed For
API_MANAGEMENTAPI Proxy and Policy managementCreating, updating, deleting API Proxies, Policies, API Proxy Groups, Endpoints
CONNECTIONSConnection managementCreating, updating, deleting Connections
IDENTITYIdentity and credential managementCreating, updating, deleting Credentials, RLCL
SECRETSSecrets and environment variablesCreating, updating, deleting Environment Variables, Certificates, Keys, Keystores, JWKs
GLOBAL_SETTINGSGlobal settings managementCreating, updating, deleting IP Groups

Permission Actions​

ActionDescription
MANAGEFull management access (create, update, delete)
DEPLOY_UNDEPLOYDeploy and undeploy operations
EXPORT_IMPORTExport and import operations (API Proxy, Certificate)

Special Permissions​

  • System Admin (sysAdmin): Required for certain administrative operations:
    • List all environments (system-wide)
    • Reports generation
    • Admin project access
  • Project Admin: For some operations, having project admin role is sufficient instead of specific category permissions

Error Responses​

If a user lacks required permissions, the API returns:

{
"error": "bad_request",
"error_description": "User does not have required permission for this operation!"
}

Or for deployment operations:

{
"error": "bad_request",
"error_description": "User does not have required permission to deploy/undeploy API Proxy!"
}

Next Steps​

Get your API token

See Authentication for details.

Learn about base URLs

See Base URL for details.

Understand error handling

See Error Handling for details.

Explore the API reference

See API Reference for complete endpoint documentation.