object-storage-2
Modify custom domain
Modifies existing custom domain by given {service_uuid} and {domain_name}.
patch/1.3/object-storage-2/{service-uuid}/custom-domains/{custom-domain-name}
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/custom-domains/{custom-domain-name}
- Auth: HTTP bearer
Path parameters
service-uuidstring uuid required
The unique identifier for the service.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
custom-domain-namestring hostname required
A valid hostname for the custom domain. Supports both apex domains (example.com) and subdomains (objects.example.com).
Example:example.com
The domain name.
Request body
Example request
{
"type": "public",
"domain_name": "example.com"
}Response
OK
Example response
{
"domain_name": "example.com",
"type": "public",
"mode": "api"
}Changes
No recorded changes to this operation across all 1 revision of this API.