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 | Default | Description |
|---|---|---|---|---|
| identifierName | string | Yes | - | Endpoint path/name (used to identify the endpoint) |
| identifierHttpMethod | string | Yes | - | HTTP method for the endpoint (used to identify the endpoint). See EnumHttpRequestMethod |
| active | boolean | Yes | - | Whether endpoint is active/enabled (true = enabled, false = disabled) |
EnumHttpRequestMethod
GET,POST,PUT,DELETE,PATCH,OPTIONS,HEAD,TRACE,ALL
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
Error Response (400 Bad Request)
Common Causes
- Missing
identifierNameoridentifierHttpMethodfields - Missing
activefield - Endpoint with specified name and httpMethod does not exist
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Example 1: Disable Endpoint
Example 2: Enable Endpoint
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Notes and Warnings
- Endpoint Identifier: Endpoint is identified by
identifierNameandidentifierHttpMethodcombination (not by ID) - Disabled Endpoints: Disabled endpoints return 404 Not Found when accessed
- Policies: Policies remain associated with the endpoint even when disabled
Related Documentation
- List Endpoints - List all endpoints
- Get Endpoint - Get endpoint details
- Update Endpoint - Update endpoint configuration
- Delete Endpoint - Delete an endpoint

