Domain
Sets the domain a lambda answers at
Takes effect at once: the next request addressed to the domain reaches the lambda, one addressed to its previous domain no longer does, and its subdomain of the hosting domain sends its visitors on to the domain from then on - so the domain should point here, with a certificate, first.
The domain is lower cased, an international one written as it is in the DNS, and a pasted address is forgiven its scheme and path. It needs an ending (example.com, not example), and may not be an IP address or a name of the platform. Sending none removes it, as DELETE does.
put/lambdas/{privateKey}/domain
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/domain
- Auth: none declared
Path parameters
privateKeystring required
The editor key of the lambda. Holding it is what allows the call.
Request body
Response
The domain afterwards, and what it resolves to
Changes
No recorded changes to this operation across all 1 revision of this API.