Toggle a custom endpoint’s enabled/disabled state.
cURL
curl --request PATCH \ --url https://api.example.com/api/v1/endpoints/{endpoint_id}/toggle
{ "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>" }
Successful Response
Response schema for a single custom endpoint.