Skip to main content

accounts

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

Overview

Nameaccounts
TypeResource
Idcloudflare.addressing.accounts

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updatereplaceaccount_id, address_map_idAdd an account as a member of a particular address map.
deletedeleteaccount_id, address_map_idRemove an account as a member of a particular address map.

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
account_idstringThe Cloudflare account ID.
address_map_idstring

REPLACE examples

Add an account as a member of a particular address map.

REPLACE cloudflare.addressing.accounts
SET
-- No updatable properties
WHERE
account_id = '{{ account_id }}' --required
AND address_map_id = '{{ address_map_id }}' --required
RETURNING
errors,
messages,
result_info,
success;

DELETE examples

Remove an account as a member of a particular address map.

DELETE FROM cloudflare.addressing.accounts
WHERE account_id = '{{ account_id }}' --required
AND address_map_id = '{{ address_map_id }}' --required
;