API Docs Help

Ajouter un domaine

Lors de la création d'un domaine, vous avez la possibilité de créer automatiquement un utilisateur qui en sera le manager.

POST method/domains/add

Request parameters

{ "name": "mail-rp.com", "public": false, "carnet": true, }
{ "name": "mail-rp.com", "public": false, "carnet": true, "manager": { "email": "aros@mail-rp.com", "name": "Xelyos", "firstname": "Aros", "password": "mot de passe compliqué", "publicInformation": { "title": "Aros", "description": "Responsable de Mail RP" } }, }

Responses

{ "name": "xelyos.fr", "public": false, "createdAt": "2023-05-21T17:06:53+02:00", "updatedAt": "2023-06-06T18:36:18+02:00", "managedBy": { "email": "aros@xelyos.fr", "name": "Xelyos", "firstname": "Aros", "userDiscord": { "uuid": "279989640210022401", "name": "_aros#0", "avatarURL": "https://cdn.discordapp.com/avatars/279989640210022401/de8d06d7370b2cfb33916cc84f6bea83.webp" } }, "activated": true, "enableCarnet": false, "title": null, "urlLogo": "https://mail-rp.s3.eu-west-3.amazonaws.com/xelyos/1eec27bf-cf91-6372-8693-5761abe0926c.jpg", "usersCount": 320, "newslettersCount": 2 }
Last modified: 02 juin 2024