Blesyum Core

change-email

3 uç · /api/v1/change-email

İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 3 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.

POST/api/v1/change-email

Request an email change: re-auth with password, email a confirm link to the

Oturum

NEW address and a heads-up to the OLD address (§4.7).

İstek
curl -X POST "https://api.blesyum.com/api/v1/change-email" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/v1/change-email/cancel

Cancel a pending email change — the "this wasn't me" / cancel action (§4.7).

Oturum
İstek
curl -X POST "https://api.blesyum.com/api/v1/change-email/cancel" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/v1/change-email/confirm

Confirm an email change from the link sent to the NEW address (the token

Oturum

proves control of the new mailbox; no session needed). All sessions close.

İstek
curl -X POST "https://api.blesyum.com/api/v1/change-email/confirm" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?