Update a custom endpoint.
cURL
curl --request PUT \ --url https://api.example.com/api/v1/endpoints/{endpoint_id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "path": "<string>", "method": "GET", "auth_required": true, "condition": "<string>", "actions": [ {} ], "response_template": {}, "enabled": true } '
{ "id": "<string>", "account_id": "<string>", "name": "<string>", "description": "<string>", "path": "<string>", "method": "<string>", "auth_required": true, "condition": "<string>", "actions": [ {} ], "response_template": {}, "enabled": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "created_by": "<string>" }
Request body for updating a custom endpoint (all fields optional).
1 - 200
GET
POST
PUT
PATCH
DELETE
Pass '' to clear the condition expression
Successful Response
Response schema for a single custom endpoint.