Skip to main content

account_capabilities

Creates, updates, deletes, gets or lists an account_capabilities resource.

Overview​

Nameaccount_capabilities
TypeResource
Idovh.email_mxplan.account_capabilities

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
quotasarrayList of allowed quotas (no constraint if null)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectemail, serviceGet email account capabilities. Returns the quotas that can be set on the email account. No value means that any quota is allowed.

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"}})
emailstringDefault email for this mailbox
servicestringThe internal name of your mxplan organization

SELECT examples​

Get email account capabilities. Returns the quotas that can be set on the email account. No value means that any quota is allowed.

SELECT
quotas
FROM ovh.email_mxplan.account_capabilities
WHERE email = '{{ email }}' -- required
AND service = '{{ service }}' -- required
;