application/json
TypeScript Definitions
Use the request body type in TypeScript.
length <= 255application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/string/tracking-domains" \ -H "Content-Type: application/json" \ -d '{ "hostname": "string" }'{ "id": "string", "projectId": "string", "hostname": "string", "status": "pending_dns", "failureReason": "string", "dnsRecords": [ { "type": "CNAME", "name": "string", "value": "string", "purpose": "routing" } ], "lastCheckedAt": "string", "activatedAt": "string", "createdAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unavailable", "code": "string", "message": "string", "param": "string" }}