accounts
Creates, updates, deletes, gets or lists an accounts resource.
Overview
| Name | accounts |
| Type | Resource |
| Id | cloudflare.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | replace | account_id, address_map_id | Add an account as a member of a particular address map. | |
delete | delete | account_id, address_map_id | Remove 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
address_map_id | string |
REPLACE examples
- update
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
- delete
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
;