---
updatedAt: 2026-04-21T05:03:04.000Z
agentTools:
  projectIndex: https://developers.leadboxer.com/llms.txt
---

# Update Custom Tracking Domain by Dataset ID

Update custom tracking domain entry for the given dataset Id and ctd.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Leadboxer API",
    "description": "# LeadBoxer API Documentation\n\nHere you can find the technical documentation needed for using the LeadBoxer API, including the option to generate requests and review the outcomes.\n\n## Getting Started\n\nTo get started, please have a look at these pages that include introductions, use-cases, and additional information for the LeadBoxer API: [LeadBoxer API Documentation](https://docs.leadboxer.com/category/112-all)\n\nThese documents are intended for LeadBoxer CUSTOMERS that have a valid API license & Key. Please contact us before using the LeadBoxer API.\n\n## Warning\n\nPlease be aware that any actions you perform through this reference testing functionality will involve operations with your production data. To test your applications against some sandbox data, we recommend creating a new, separate LeadBoxer account for sandboxing purposes.\n\nThis API is under active maintenance, and we are constantly adding new functionality to this version.\n\n[**All requests to the API must be made over SSL (https, not http).**]",
    "termsOfService": "https://www.leadboxer.com/resources/terms",
    "contact": {
      "name": "Wart Fransen",
      "url": "wart@leadboxer.com",
      "email": "hello@leadboxer.com"
    },
    "license": {
      "name": "",
      "url": "https://www.leadboxer.com/resources/privacy"
    },
    "version": "0.0.1"
  },
  "servers": [
    {
      "url": "https://api.leadboxer.com",
      "description": "Production Server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v1/management/ctd/update": {
      "put": {
        "tags": [
          "Custom Tracking Domains"
        ],
        "summary": "Update Custom Tracking Domain by Dataset ID",
        "description": "Update custom tracking domain entry for the given dataset Id and ctd.",
        "operationId": "updatedCustomTrackingDomain",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomTrackingDomainRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Custom Tracking Domain updated successfully, no content returned."
          },
          "400": {
            "description": "Bad Request: The request is invalid or malformed (missing/incorrect parameters).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1BadRequestResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required: The client has exceeded credit limits.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1InternalServerError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden: The authenticated user does not have permission to access this resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1PermissionDenied"
                }
              }
            }
          },
          "404": {
            "description": "Not Found: The requested resource does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1NotFoundResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict: The request could not be completed due to a resource state conflict.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1ConflictResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests: Rate limit exceeded. The client has sent too many requests in a given time period",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Interval Server Error: An unexpected error occurred on the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1InternalServerError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RateLimitErrorResponse": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64",
            "example": 1765611454230
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "example": 429
          },
          "error": {
            "type": "string",
            "example": "Too Many Requests"
          },
          "message": {
            "type": "string",
            "example": "Rate limit exceeded. Please try again later."
          },
          "retryAfter": {
            "type": "integer",
            "format": "int32",
            "example": 58
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "example": 2
          },
          "remaining": {
            "type": "integer",
            "format": "int32",
            "example": 0
          }
        },
        "description": "Rate limit exceeded error response"
      },
      "V1BadRequestResponse": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference that identifies the problem type",
            "example": "https://developers.leadboxer.com/docs/validation-error"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type",
            "example": "The request is malformed or contains invalid data"
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code",
            "format": "int32",
            "example": 400
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation specific to this occurrence of the problem",
            "example": "email must be a well-formed email address"
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem",
            "example": "/v1/users/{userId}/name?email=johndoe.com"
          },
          "errors": {
            "type": "array",
            "description": "Array of field-level validation errors",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "The name of the field that failed validation",
            "example": "email"
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message for this specific field",
            "example": "must be a well-formed email address"
          }
        },
        "description": "Array of field-level validation errors"
      },
      "V1PermissionDenied": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference that identifies the problem type"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type"
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code",
            "format": "int32",
            "example": 403
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation specific to this occurrence of the problem"
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem"
          }
        }
      },
      "V1ConflictResponse": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference that identifies the problem type"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type",
            "example": "Resource already exist"
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code",
            "format": "int32",
            "example": 409
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation specific to this occurrence of the problem",
            "example": "User with email: john.doe@examplecompany.com already exist"
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem",
            "example": "/v1/users/?email=john.doe@examplecompany.com"
          }
        }
      },
      "V1NotFoundResponse": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference that identifies the problem type"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type"
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code",
            "format": "int32",
            "example": 404
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation specific to this occurrence of the problem"
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem"
          }
        }
      },
      "V1InternalServerError": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference that identifies the problem type"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type",
            "example": "Internal Server Error"
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code",
            "format": "int32",
            "example": 500
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation specific to this occurrence of the problem",
            "example": "An unexpected error occurred. Please contact support."
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem"
          }
        }
      },
      "CustomTrackingDomainRequest": {
        "required": [
          "ctd",
          "datasetId"
        ],
        "type": "object",
        "properties": {
          "ctd": {
            "type": "string",
            "example": "track.companyname.com"
          },
          "datasetId": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Description for the given custom tracking domain"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Provide your LeadBoxer API Key",
        "name": "x-api-key",
        "in": "header"
      }
    }
  }
}
```