ACME API
https://api.gandi.net/v5/acme/
Introduction ¶
This section of our documentation will assist you in the management of ACME at Gandi.net through our REST API.
Catalog List ¶
https://api.gandi.net/v5/acme/catalog
get List catalog prices of quantity of one domain ¶
Request
Query Parameters
Required
- country ⁠string
- currency ⁠string
- duration ⁠string
- grid ⁠string
- process ⁠string
- provider ⁠string
- sharing_id ⁠string
- validation_type ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Body
application/json
⁠arrayOf items of type:
- objectPrice return from billing library
With the following properties:
- currency ⁠string
- duration_unit ⁠string
- grid ⁠string
One of: "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T"
- max_duration ⁠integer
- min_duration ⁠integer
- price_after_taxes ⁠string
- price_before_taxes ⁠string
- process ⁠string
One of: "add_fqdn", "add_wildcard"
- product ⁠object
With the following properties:
- name ⁠string
- params ⁠object
With the following properties:
- provider ⁠string
One of: "sectigo", "digicert"
ACME providers enumeration - validation_type ⁠string
One of: "dv", "ov"
- provider ⁠string
- tax_rate ⁠string
- taxes ⁠array
Of items of type:
- object
With the following properties:
- label ⁠string
- name ⁠string
- rate ⁠string
- type ⁠string
- object
- object
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Prices list ¶
https://api.gandi.net/v5/acme/quote
post List prices with filters, according to specific domain list ¶
Request
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Body
application/json
⁠objectWith the following properties:
Required
- country ⁠string
- currency ⁠string
- domains ⁠array[ string ]
Minimum items: 1
- duration ⁠string
- grid ⁠string
- process ⁠string
- provider ⁠string
- validation_type ⁠string
Responses
200
Body
application/json
⁠arrayOf items of type:
- object
With the following properties:
- currency ⁠string
- duration_unit ⁠string
- grid ⁠string
One of: "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T"
- max_duration ⁠integer
- min_duration ⁠integer
- price_after_taxes ⁠string
- price_before_taxes ⁠string
- process ⁠string
One of: "add_fqdn", "add_wildcard"
- product ⁠object
With the following properties:
- name ⁠string
- params ⁠object
With the following properties:
- provider ⁠string
One of: "sectigo", "digicert"
ACME providers enumeration - validation_type ⁠string
One of: "dv", "ov"
- provider ⁠string
- quantity ⁠integer
- tax_rate ⁠string
- taxes ⁠array
Of items of type:
- object
With the following properties:
- label ⁠string
- name ⁠string
- rate ⁠string
- type ⁠string
- object
- object
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Subscriptions Create and List ¶
https://api.gandi.net/v5/acme/subscriptions
get List subscriptions for a given sharing_id ¶
Request
Query Parameters
Required
- created_at ⁠string
- ends_at ⁠string
- name ⁠string
- provider ⁠string
- sharing_id ⁠string
- status ⁠string
- validation_type ⁠string
- years ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Headers
- X-Total-Count ⁠string
Body
application/json
⁠arrayOf items of type:
- object
With the following properties:
- created_at ⁠string
- eab_hmac ⁠string
- eab_id ⁠string
- ends_at ⁠string
- name ⁠string
- provider ⁠string
- server_url ⁠string
- status ⁠string
- subscription_id ⁠string
- validation_type ⁠string
- years ⁠string
- object
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
post Create a partial subscription, waiting for billing task to be paid ¶
Request
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Body
application/json
⁠objectWith the following properties:
Required
- country ⁠string
- currency ⁠string
Default: "EUR"
- domains ⁠array[ string ]
Minimum items: 1
- duration ⁠integer
Default: 1
duration in years - grid ⁠string
Default: "A"
- name ⁠string
Default: "FIXME"
Minimum length: 1
Maximum length: 200
- provider ⁠string
One of: "sectigo", "digicert"
ACME providers enumeration - validation_type ⁠string
One of: "dv", "ov"
Responses
200
Headers
- Content-Location ⁠string
- Location ⁠string
Body
application/json
⁠objectWith the following properties:
- message ⁠string
Default: "Request Accepted"
- message ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Subscriptions Modify and Delete ¶
https://api.gandi.net/v5/acme/subscriptions/{subscription_id}
get Returns a single account associated with the subscription_id and the account_id ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Body
application/json
⁠objectWith the following properties:
- created_at ⁠string
- eab_hmac ⁠string
- eab_id ⁠string
- ends_at ⁠string
- name ⁠string
- provider ⁠string
- server_url ⁠string
- status ⁠string
- subscription_id ⁠string
- validation_type ⁠string
- years ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
patch Changes the name of the subscription ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Body
application/json
⁠objectWith the following properties:
Required
- name ⁠string
Minimum length: 1
Maximum length: 200
- name ⁠string
Responses
200
Headers
- Content-Location ⁠string
- Location ⁠string
Body
application/json
⁠objectWith the following properties:
- message ⁠string
Default: "Request Accepted"
- message ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
delete Delete the subscription ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Body
application/json
⁠stringDefault: ""
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Account List ¶
https://api.gandi.net/v5/acme/subscriptions/{subscription_id}/accounts
get List all accounts linked to a subscription ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Headers
- X-Total-Count ⁠string
Body
application/json
⁠arrayOf items of type:
- object
With the following properties:
- created_at ⁠string
- deleted_at ⁠string
- external_id ⁠string
- id ⁠string
- ip ⁠string
- last_activity ⁠string
- status ⁠string
- subscription_id ⁠string
- object
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Account Info ¶
https://api.gandi.net/v5/acme/subscriptions/{subscription_id}/accounts/{account_id}
get Returns a single account associated with the subscription_id and the account_id ¶
Request
URI Parameters
- subscription_id ⁠string
- account_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Body
application/json
⁠objectWith the following properties:
- created_at ⁠string
- deleted_at ⁠string
- external_id ⁠string
- id ⁠string
- ip ⁠string
- last_activity ⁠string
- status ⁠string
- subscription_id ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Domains List ¶
https://api.gandi.net/v5/acme/subscriptions/{subscription_id}/domains
get List all domains on a subscription ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- domain ⁠string
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Headers
- X-Total-Count ⁠string
Body
application/json
⁠arrayOf items of type:
- object
With the following properties:
- created_at ⁠string
- deleted_at ⁠string
- hostname ⁠string
- hostname_ulabel ⁠string
- is_wildcard ⁠string
- status ⁠string
- subscription_id ⁠string
- object
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
patch Changes the domains of the subscription ¶
Request
URI Parameters
- subscription_id ⁠string
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Body
application/json
⁠objectWith the following properties:
Required
- country ⁠string
- currency ⁠string
Default: "EUR"
- domains_to_add ⁠array[ string ]
- domains_to_delete ⁠array[ string ]
- grid ⁠string
Default: "A"
- provider ⁠string
Default: "sectigo"
- validation_type ⁠string
Default: "dv"
Responses
200
Headers
- Content-Location ⁠string
- Location ⁠string
Body
application/json
⁠objectWith the following properties:
- message ⁠string
Default: "Request Accepted"
- message ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Domain Info ¶
https://api.gandi.net/v5/acme/subscriptions/{subscription_id}/domains/{domain_id}
get Returns a single domain linked to the right subscription_id and domain_id association ¶
Request
URI Parameters
- subscription_id ⁠string
- domain_id ⁠integer
Query Parameters
Required
- sharing_id ⁠string
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string
Responses
200
Body
application/json
⁠objectWith the following properties:
- created_at ⁠string
- deleted_at ⁠string
- hostname ⁠string
- hostname_ulabel ⁠string
- is_wildcard ⁠string
- status ⁠string
- subscription_id ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
401
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
403
Body
application/json
⁠objectWith the following properties:
- cause ⁠string
- code ⁠integer
- message ⁠string
- object ⁠string
Secured by
Http Authorization Scheme
This authentication scheme allows you to pass your Personal Access Token and be granted access to permissions and resources scoped by this token.
Tokens are created in the Organization Tab of the Gandi Admin application, choose the organization the token will have access too. Then go to the sharing tab, and click on "Create a token" button.
Headers
Required
- Authorization ⁠stringThe
Authorizationheader must start withBearerfor access token.Example:Bearer pat_abc-123
- Authorization ⁠string