softphone_logos
Creates, updates, deletes, gets or lists a softphone_logos resource.
Overview​
| Name | softphone_logos |
| Type | Resource |
| Id | ovh.telephony.softphone_logos |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
filename | string | Logo filename |
url | string | URL used to download logo |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account | Returns the softphone logo of the billing account: file name and download URL. | |
update | update | billing_account, filename, url | Sets the softphone logo of the billing account from a file name and a URL. | |
delete | delete | billing_account | Deletes the softphone logo of the billing account. |
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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
SELECT examples​
- get
Returns the softphone logo of the billing account: file name and download URL.
SELECT
filename,
url
FROM ovh.telephony.softphone_logos
WHERE billing_account = '{{ billing_account }}' -- required
;
UPDATE examples​
- update
Sets the softphone logo of the billing account from a file name and a URL.
UPDATE ovh.telephony.softphone_logos
SET
filename = '{{ filename }}',
url = '{{ url }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND filename = '{{ filename }}' --required
AND url = '{{ url }}' --required
RETURNING
filename,
url;
DELETE examples​
- delete
Deletes the softphone logo of the billing account.
DELETE FROM ovh.telephony.softphone_logos
WHERE billing_account = '{{ billing_account }}' --required
;