CertifMaker Docs
Api reference

Modifier l'organisation

Met à jour les paramètres de branding : nom, couleur, expéditeur, sujet, message et signature email. Tous les champs sont optionnels — seuls ceux fournis sont mis à jour. Passer une chaîne vide (`""`) efface la valeur.

PUT
/organisation

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Clé API au format cm_live_..., générée depuis Paramètres > Clés API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:3000/api/v1/organisation" \  -H "Content-Type: application/json" \  -d '{}'
{
  "organizationName": "Académie Numeris",
  "logoUrl": "http://example.com",
  "brandColor": "#2563EB",
  "websiteUrl": "http://example.com",
  "emailSenderName": "string",
  "emailSubject": "string",
  "emailIntroMessage": "string",
  "emailSignature": "string"
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "status": 0
  }
}