Cloudflare.Account (Cloudflare v0.2.0) View Source

Accounts

An Account is the root object which owns other resources such as zones, load balancers and billing details.

List Accounts

GET List all accounts you have ownership or verified access to

GET accounts

Permission needed: #organization:read

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Account Details

GET Get information about a specific account that you are a member of

GET accounts/:identifier

Permission needed: #organization:read

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Update Account

PUT Update an existing Account

PUT accounts/:identifier

Permission needed: #organization:edit

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Link to this section Summary

Link to this section Functions

Specs

Specs

Specs

Link to this function

path_for(id, opts \\ [])

View Source

Specs

path_for(term(), [{:action, String.t()}]) :: String.t()

Specs

show(id :: term(), opts :: Restlax.Resource.action_options()) ::
  Tesla.Env.result()

Specs

show!(id :: term(), opts :: Restlax.Resource.action_options()) ::
  Tesla.Env.t() | no_return()
Link to this function

update(id, body, opts \\ [])

View Source

Specs

Link to this function

update!(id, body, opts \\ [])

View Source

Specs

update!(
  id :: term(),
  body :: Restlax.Resource.action_body(),
  opts :: Restlax.Resource.action_options()
) :: Tesla.Env.t() | no_return()