Platform API reference

Platform API · Me

patch/v1/me/mfa/factors/{factor_id}Auth

Rename a factor

Path parameters

factor_id*string · uuid

Factor id.

Request body

label*string

New name (1-64).

Response · 200

id*string · uuid

Factor id; send it back as `factor_id`.

type*object

Kind of factor. Clients treat this as an open enum.

label*string

Name the account holder gave it (or a default).

email_maskedstring

Email factors: the masked destination, e.g. `c***h@g***l.com`.

status*object

Only active factors are listed.

created_at*string · date-time

When the factor was turned on.

last_used_at*string · date-time

Last time it completed a second step.

Example

Request

PATCH https://api.platform-auth.productcraft.co/v1/me/mfa/factors/{factor_id}
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{
  "label": "string"
}

Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "type": {},
  "label": "string",
  "email_masked": "string",
  "status": {},
  "created_at": "2026-01-01T00:00:00.000Z",
  "last_used_at": "2026-01-01T00:00:00.000Z"
}