Endpoint
DELETE /apiops/projects/{projectName}/apiProxies/{apiProxyName}/trafficLogSettings/{environmentName}/methods/{methodName}/connectors/{connectorType}/
Authentication
Requires a Personal API Access Token.
Authorization: Bearer YOUR_TOKEN
Request
| Header | Value | Required |
|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
| environmentName | string | Yes | Environment name |
| methodName | string | Yes | API method/endpoint name |
| connectorType | string | Yes | Connector type (e.g., ELASTICSEARCH, DATABASE) |
Connector Types
ELASTICSEARCH_INDEX, DB_INSERT_UPDATE_DELETE, SYSLOG_SEND, WEBHOOK_SEND, RABBITMQ_SEND, ACTIVEMQ_SEND, KAFKA_SEND, GRAYLOG_SEND, LOGBACK_APPEND
Response
Success Response (200 OK)
{
"status": "SUCCESS",
"resultList": null,
"resultCount": null
}
Error Response (400 Bad Request)
{
"error": "bad_request",
"error_description": "Traffic log settings not found"
}
cURL Example
curl -X DELETE \
"https://demo.apinizer.com/apiops/projects/MyProject/apiProxies/MyAPI/trafficLogSettings/production/methods/%2Fpets/connectors/ELASTICSEARCH_INDEX/" \
-H "Authorization: Bearer YOUR_TOKEN"
Method names containing / must be URL-encoded (e.g., /pets → %2Fpets).
Notes and Warnings
- Automatic Deployment: Changes are automatically deployed after save
- Fallback: After deletion, the method uses proxy-level settings for the connector
- Cleanup: If no connector overrides remain for a method, the entire method override entry is removed
Permissions
User must have API_MANAGEMENT + MANAGE permission in the project.