v4

latestOpenAPI 3.1.02026-08-0130252.8 KB
Publishing

Update the project URL

Change the path, switch subdomains, or point the project at a custom domain. Provide exactly one of userSubdomainId or userDomainId. Requires a paid plan.

put/projects/{slug}/url

Path parameters

slugstring required

Request body

pathstring required

The path segment after the hostname.

userSubdomainIdstring

ID of the subdomain to host on.

userDomainIdstring

ID of the custom domain to host on.

Response

URL updated

successboolean required