API

AcmeAccount

The ACME accounts of a subscription: list them or get one.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /acme/subscriptions/{subscription_id}/accounts list OK
GET /acme/subscriptions/{subscription_id}/accounts/{account_id} load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

acme_accounts, err := client.AcmeAccount(nil).List(map[string]any{"subscription_id": "example", "sharing_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(acme_accounts)
acme_account, err := client.AcmeAccount(nil).Load(map[string]any{"id": "example_id", "subscription_id": "example", "sharing_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(acme_account)

Lua

Construct client as shown in the Lua setup, then call the operations:

local acme_accounts, err = client:AcmeAccount():list({ subscription_id = "example", sharing_id = "example" })
local acme_account, err = client:AcmeAccount():load({ id = "example_id", subscription_id = "example", sharing_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$acme_accounts = $client->AcmeAccount()->list(["subscription_id" => "example", "sharing_id" => "example"]);
$acme_account = $client->AcmeAccount()->load(["id" => "example_id", "subscription_id" => "example", "sharing_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

acme_accounts = client.AcmeAccount().list({"subscription_id": "example", "sharing_id": "example"})
acme_account = client.AcmeAccount().load({"id": "example_id", "subscription_id": "example", "sharing_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

acme_accounts = client.AcmeAccount.list({ "subscription_id" => "example", "sharing_id" => "example" })
acme_account = client.AcmeAccount.load({ "id" => "example_id", "subscription_id" => "example", "sharing_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const acme_accounts = await client.AcmeAccount().list({ subscription_id: "example", sharing_id: "example" })
const acme_account = await client.AcmeAccount().load({ id: "example_id", subscription_id: "example", sharing_id: "example" })

Fields

Field Type Required Description
created_at string Yes Created At
deleted_at string Yes Deleted At
external_id string Yes External Id
id string Yes Id
ip string Yes Ip
last_activity string Yes Last Activity
status string Yes Status
subscription_id string Yes Subscription Id

list

GET /acme/subscriptions/{subscription_id}/accounts

Operation ID: getAcmeSubscriptionsSubscriptionIdAccounts.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
subscription_id path string Yes
sharing_id query string Yes

Responses

200: OK

application/json

Property Type Required Description
[].created_at string Yes
[].deleted_at string Yes
[].external_id string Yes
[].id string Yes
[].ip string Yes
[].last_activity string Yes
[].status string Yes
[].subscription_id string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

load

GET /acme/subscriptions/{subscription_id}/accounts/{account_id}

Operation ID: getAcmeSubscriptionsSubscriptionIdAccountsAccountId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
subscription_id path string Yes
account_id path string Yes
sharing_id query string Yes

Responses

200: OK

application/json

Property Type Required Description
created_at string Yes
deleted_at string Yes
external_id string Yes
id string Yes
ip string Yes
last_activity string Yes
status string Yes
subscription_id string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes