Récupérer une clé Api
Get /settings/apikeys/{id}
Paramètres dans l'URL :
Nom | Description | Type |
---|---|---|
id | Id de clé API | String |
Réponse :
Nom | Description | Type |
---|---|---|
id | Id de clé API | String |
hash | Login | String |
key | Mot de passe | String |
iPFilterEnabled | Si le filtre d'adresse IP est activé | Boolean |
allowedIPs | Tableau d'adresse IP | Array |
description | Description | String |
createdAt | Date au format timestamp | Int |
updatedAt | Date au format timestamp | Int |
enabled | Si la clé API est activée ou non | String |
Langage de programmation :
Exemple de réponse :
1 2 3 4 5 6 7 8 9 10 11 12 | { "id" : "grkejhgrkehgtrkghu546544" , "hash" : "fe6z45f6ze5f4ez6f4ze6f54zef9c5d8" , "key" : "3fzefze987f9ze8f7ze65f4ze654fzeb0" , "allowedIPs" : [], "iPFilterEnabled" : false , "description" : "Site Tipimail" , "createdAt" : 1435847615, "updatedAt" : 1438778437, "enabled" : true } |