Blesyum Core

change-email

3 endpoints · /api/v1/change-email

Request examples are generated from each endpoint's REAL method and path. 3 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

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ı?