apps_domains_update
PUT
/v1/apps/{app_id}/domains
const url = 'https://example.com/v1/apps/example/domains';const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/v1/apps/example/domains \ --header 'Authorization: Bearer <token>'PUT /v1/apps/{id}/domains — Set subdomain and/or custom domain.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”app_id
required
string
Responses
Section titled “Responses”No response body