object-storage-2
Attach custom domain
Attaches a new custom domain to the service identified by {service_uuid}.
post/1.3/object-storage-2/{service-uuid}/custom-domains
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/custom-domains
- Auth: HTTP bearer
Path parameters
service-uuidstring uuid required
The unique identifier for the service.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
Request body
Example request
{
"type": "public",
"domain_name": "example.com"
}Response
Created
Example response
{
"domain_name": "example.com",
"type": "public",
"mode": "api"
}Changes
No recorded changes to this operation across all 1 revision of this API.