Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
Request Body
Full JSON Body Example
Request Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Method path/name |
| httpMethod | string | Yes | HTTP method for the method. See EnumHttpRequestMethod |
Query Parameters
NoneResponse
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| id | string | Method unique identifier |
| endpoint | string | Method path/name |
| description | string | Method description |
| active | boolean | Whether method is active/enabled |
| httpMethod | string | HTTP method for the method |
| backendResourceUrl | string | Backend resource URL |
| backendHttpMethod | string | HTTP method for backend call |
| requestPolicyList | array | List of request pipeline policies |
| responsePolicyList | array | List of response pipeline policies |
| errorPolicyList | array | List of error pipeline policies |
Policy Object Fields (in policy lists)
| Field | Type | Description |
|---|---|---|
| type | string | Policy type |
| name | string | Policy name |
| description | string | Policy description |
| active | boolean | Whether policy is active |
EnumHttpRequestMethod
GET,POST,PUT,DELETE,PATCH,OPTIONS,HEAD,TRACE,ALL
Error Response (400 Bad Request)
Error Response (401 Unauthorized)
Error Response (400 Bad Request - API Proxy Not Found)
cURL Example
Permissions
User must haveAPI_MANAGEMENT + VIEW permission in the project.
Notes and Warnings
- Method Identifier: The method is identified by the combination of
name(path) andhttpMethod— not by ID - Policy Details: Policy objects contain basic information only. For full policy configuration, use the Policies API
- Empty Lists: If no policies exist in a pipeline, an empty array is returned
- Difference from List Endpoint Policies: This endpoint uses the
/methods/policies/path and follows the same pattern as the other methods-based endpoints
Related Documentation
- List Methods - List all methods with optional policies
- List Endpoint Policies - List policies for an endpoint
- List Policies - List all policies (proxy-level and method-level)
- Policies API - Policy management API

