Skip to main content
POST
Attach an AWS Marketplace subscription to the organisation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organisation_id
string<uuid>

Expected current organisation; mismatch is rejected, never used to switch scope.

Body

application/json
token
string
required

The link token from the registration redirect's URL fragment.

Response

Successful Response

organisation_id
string<uuid>
required
customer_aws_account_id
string
required

The buyer's AWS account.

status
enum<string>
required

pending until AWS confirms the contract; active once it has.

Available options:
pending,
active,
deprovisioned,
ended
dimension
enum<string> | null
required

The contract dimension, once known.

Available options:
startup_vcpu,
enterprise_vcpu,
null
contracted_vcpu
integer | null
required

Worker vCPU the contract covers, on top of the 30 free.

plan_name
enum<string> | null
required

The Ankra plan the contract maps to, once known.

Available options:
startup,
enterprise,
null