Aller au contenu
Français

Liste des domaines

GET/v1/domains

Des domaines personnalisés et un domaine partagé sont disponibles pour créer une adresse personnelle.

Zones d’autorisation et d’accès · Erreurs et répétitions

Demande

Fenêtre de terminal
curl -X GET 'https://adapt-mail.com/v1/domains' \
-H 'Authorization: Bearer <access_token>'

Possibilités

X-Customer-IDheader
Option 1

string

Option 2

null

Réponses

200 Réponse réussie

application/json

array

Éléments du tableau

object

id

integer

account_id
Option 1

integer

Option 2

null

name

string

status

string

is_shared

boolean

verification_token

string

dns_status

object

created_at

string

Date et heure en UTC. S'il n'y a pas de décalage, la valeur représente également UTC.

updated_at

string

Date et heure en UTC. S'il n'y a pas de décalage, la valeur représente également UTC.

401 Connexion requise

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

403 Pas d'accès

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

404 Ressource introuvable

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

409 Conflit d'État

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

422 Erreur de validation

application/json

object

detail

array

Éléments du tableau

object

locNécessairement

array

Éléments du tableau
Option 1

string

Option 2

integer

msgNécessairement

string

typeNécessairement

string

503 Indisponibilité temporaire

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object