Me

Update username

{"username": string | null}: leading/trailing whitespace stripped, empty string treated as null (clears username), up to 64 Unicode characters, without control characters (Unicode category Cc), otherwise 400 invalid_request (reason: invalid_username). Returns same body as GET /me on success. Not unique, no other format constraints.

patch/me

Request

  • Base URL: https://console-api.blockvectra.com/v1
  • URL: https://console-api.blockvectra.com/v1/me
  • Auth: HTTP bearer

Request body

usernamestring nullable required

Username: populated with default value on first login (GitHub login for GitHub, null for SIWE and Google; SIWE accounts start with no username and clients derive the display from the address); modified via PATCH /me only; linking identities does not alter it. Not unique, not queryable. Stripped of leading/trailing whitespace on PATCH, empty string treated as null, up to 64 Unicode characters, without control characters (Unicode category Cc), otherwise 400 invalid_request (reason: invalid_username).

Response

Updated current user (matching GET /me shape).

usernamestring nullable required

Username: populated with default value on first login (GitHub login for GitHub, null for SIWE and Google; SIWE accounts start with no username and clients derive the display from the address); modified via PATCH /me only; linking identities does not alter it. Not unique, not queryable. Stripped of leading/trailing whitespace on PATCH, empty string treated as null, up to 64 Unicode characters, without control characters (Unicode category Cc), otherwise 400 invalid_request (reason: invalid_username).

created_atstring date-time required

RFC 3339 UTC, second precision, ending in Z (2026-09-26T08:00:00Z); no fractional seconds, without +00:00 timezone offsets.

Example response

{
  "created_at": "2026-09-26T08:00:00Z",
  "identities": [
    {
      "created_at": "2026-09-26T08:00:00Z",
      "last_login_at": "2026-09-26T08:00:00Z"
    }
  ],
  "session": {
    "expires_at": "2026-09-26T08:00:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.