Skip to main content

Modify a Domain

Modify the domain. Currently only status can be modified

Request

Request-Line

PUT /lls/v1.0/domain/{domain}

Request Parameters

Path Parameters

ParameterTypeRequiredDescription
domainStringMandatorydomain name.

Body Parameters

ParameterTypeRequiredDescription
statusStringMandatorydomain status. Valid values: active, inactive.

Response

Response Body

ParameterTypeRequiredDescription
domainStringMandatorydomain name
typeStringMandatorydomain type. Valid values: ingest, delivery.
createdTimestampMandatoryTimestamp of created time in UTC timezone.
updatedTimestampMandatoryTimestamp of updated time in UTC timezone. Default is now.
statusStringMandatoryStatus of domain. Valid values: active, inactive.
associatedDeliveryDomainArrayOptionalassociated delivery domain name. It is available for ingest domain only.
authenticationBooleanOptionalenable authentication or not. It is available for ingest domain only.
authenticationTypeStringOptionalauthentication type. Valid values: default, 3rdparty. It is available for ingest domain only.
authenticationKeyStringOptionalauthentication key. It is available for authenticationType=default only.
3rdPartyEndpointStringOptional3rd party endpoint for 3rdparty authentication. It is available for authenticationType=3rdparty only.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400LLS.Domain.NotFoundDomain name is not found.

Examples

Modify a domain name

Request

PUT /lls/v1.0/domain/ingest.example.com HTTP/1.1
{
"status": "inactive"
}

Successful Response Body

{
"domain": "ingest.example.com",
"type": "ingest",
"created": "2025-07-10T09:10:00Z",
"updated": "2025-07-10T09:35:00Z",
"status": "inactive",
"CNAME": "1000-2000-3000.llss-ingest-sw.swiftserve.com",
"authentication": true,
"authenticationType": "default",
"authenticationKey": "abcdef123456"
}

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour