Skip to main content

fax_custom_domains

Creates, updates, deletes, gets or lists a fax_custom_domains resource.

Overview​

Namefax_custom_domains
TypeResource
Idovh.me.fax_custom_domains

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idinteger
domainstringThe custom domain of your fax services

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectidGet this object properties
listselectx_pagination_modeGet the fax custom domains linked to the customer account
createinsertdomainCreate a custom domain for your fax services
deletedeleteidDelete a custom domain of your fax services

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
idinteger
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get this object properties

SELECT
id,
domain
FROM ovh.me.fax_custom_domains
WHERE id = '{{ id }}' -- required
;

INSERT examples​

Create a custom domain for your fax services

INSERT INTO ovh.me.fax_custom_domains (
domain
)
SELECT
'{{ domain }}' /* required */
RETURNING
id,
domain
;

DELETE examples​

Delete a custom domain of your fax services

DELETE FROM ovh.me.fax_custom_domains
WHERE id = '{{ id }}' --required
;