Me

Endpoints for the authenticated user.

Get my user information

get
/me

Get my user information by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
Responseall of
and
get
/me
GET /api/v1/me HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "_id": "text",
  "username": "text",
  "language": "text",
  "region": "text",
  "firstName": "text",
  "lastName": "text",
  "status": 0,
  "attributes": {},
  "avatarUrl": "text",
  "settings": {
    "mailOnBuildCompleted": true,
    "mailOnCodePushCompleted": true
  },
  "lastLoginAt": "2025-12-05T14:22:45.943Z",
  "createdAt": "2025-12-05T14:22:45.943Z",
  "updatedAt": "2025-12-05T14:22:45.943Z",
  "organization": {
    "_id": "text",
    "name": "text",
    "slug": "text",
    "description": "text",
    "owner": "text",
    "isExecutive": false,
    "status": 0,
    "privileges": [
      "project:read",
      "project:write"
    ],
    "imageUrl": "text",
    "createdAt": "2025-12-05T14:22:45.943Z",
    "updatedAt": "2025-12-05T14:22:45.943Z"
  },
  "roles": [
    {
      "_id": "text",
      "name": "text",
      "description": "text",
      "organization": {
        "_id": "text",
        "name": "text",
        "slug": "text",
        "description": "text",
        "owner": "text",
        "isExecutive": false,
        "status": 0,
        "privileges": [
          "project:read",
          "project:write"
        ],
        "imageUrl": "text",
        "createdAt": "2025-12-05T14:22:45.943Z",
        "updatedAt": "2025-12-05T14:22:45.943Z"
      },
      "privileges": [
        "project:read",
        "project:write"
      ],
      "createdAt": "2025-12-05T14:22:45.943Z",
      "updatedAt": "2025-12-05T14:22:45.943Z"
    },
    {
      "organization": "text"
    }
  ],
  "userType": "super-admin"
}

Change my password

post
/me

Change my password by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
passwordstring · min: 3 · max: 255Required

User old password

Example: <password>
newPasswordstring · min: 3 · max: 255Required

User new password

Example: <newPassword>
Responses
post
/me
POST /api/v1/me HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "password": "<password>",
  "newPassword": "<newPassword>"
}

No content

Update my user information

patch
/me

Update my user information by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
firstNamestring · min: 5 · max: 255Optional

User first name

lastNamestring · min: 5 · max: 255Optional

User last name

languagestring · min: 2 · max: 2Optional

User language

Example: en
regionstring · min: 2 · max: 2Optional

User region

Example: US
statusinteger · enumOptional

Status

Possible values:
avatarUrlstringOptional

User avatar URL

Example: https://akinon.s3.amazonaws.com/.../avatar.jpg
Responses
200

OK

application/json
Responseall of
and
patch
/me
PATCH /api/v1/me HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 212

{
  "firstName": "text",
  "lastName": "text",
  "language": "en",
  "region": "US",
  "status": 0,
  "avatarUrl": "https://akinon.s3.amazonaws.com/.../avatar.jpg",
  "settings": {
    "mailOnBuildCompleted": true,
    "mailOnCodePushCompleted": true
  }
}
{
  "_id": "text",
  "username": "text",
  "language": "text",
  "region": "text",
  "firstName": "text",
  "lastName": "text",
  "status": 0,
  "attributes": {},
  "avatarUrl": "text",
  "settings": {
    "mailOnBuildCompleted": true,
    "mailOnCodePushCompleted": true
  },
  "lastLoginAt": "2025-12-05T14:22:45.943Z",
  "createdAt": "2025-12-05T14:22:45.943Z",
  "updatedAt": "2025-12-05T14:22:45.943Z",
  "organization": {
    "_id": "text",
    "name": "text",
    "slug": "text",
    "description": "text",
    "owner": "text",
    "isExecutive": false,
    "status": 0,
    "privileges": [
      "project:read",
      "project:write"
    ],
    "imageUrl": "text",
    "createdAt": "2025-12-05T14:22:45.943Z",
    "updatedAt": "2025-12-05T14:22:45.943Z"
  },
  "roles": [
    {
      "_id": "text",
      "name": "text",
      "description": "text",
      "organization": {
        "_id": "text",
        "name": "text",
        "slug": "text",
        "description": "text",
        "owner": "text",
        "isExecutive": false,
        "status": 0,
        "privileges": [
          "project:read",
          "project:write"
        ],
        "imageUrl": "text",
        "createdAt": "2025-12-05T14:22:45.943Z",
        "updatedAt": "2025-12-05T14:22:45.943Z"
      },
      "privileges": [
        "project:read",
        "project:write"
      ],
      "createdAt": "2025-12-05T14:22:45.943Z",
      "updatedAt": "2025-12-05T14:22:45.943Z"
    },
    {
      "organization": "text"
    }
  ],
  "userType": "super-admin"
}

Last updated

Was this helpful?