Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example

Request Body Fields

EnumHttpRequestMethod

  • GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, TRACE, ALL

Response

Success Response (200 OK)

When deploy=true is specified:

Response Fields

Error Response (400 Bad Request)

or

Common Causes

  • Missing identifierName or identifierHttpMethod fields
  • Missing active field
  • 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

Example 3: Save and Deploy

Permissions

User must have API_MANAGEMENT + MANAGE permission in the project.

Notes and Warnings

  • Endpoint Identifier: Endpoint is identified by identifierName and identifierHttpMethod combination (not by ID)
  • Disabled Endpoints: Disabled endpoints return 404 Not Found when accessed
  • Policies: Policies remain associated with the endpoint even when disabled
  • Deploy: When deploy=true, the API proxy is automatically deployed to the specified environments after saving