Account

Retrieves accounts with details.

get

Retrieves accounts with details.

Authorizations
Query parameters
pageIndexinteger · int32Optional

Page number.

Default: 1
pageSizeinteger · int32Optional

Accounts per page.

Default: 10
searchTermstringOptional

Optional search filter.

rolestring · enumOptional

Optional account role

Possible values:
Responses
200

OK

application/json
get
GET /api/Account HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "page": {
    "index": 1,
    "size": 1,
    "totalCount": 1,
    "totalPages": 1,
    "hasNext": true,
    "hasPrevious": true
  },
  "accounts": [
    {
      "accountId": "123e4567-e89b-12d3-a456-426614174000",
      "username": "text",
      "email": "text",
      "createdAt": "2025-08-11T02:45:32.163Z",
      "updatedAt": "2025-08-11T02:45:32.163Z",
      "isActive": true,
      "roles": [
        "Candidate"
      ],
      "profile": {
        "profileId": "123e4567-e89b-12d3-a456-426614174000",
        "firstName": "text",
        "lastName": "text",
        "bioMarkdown": "text",
        "instituteName": "text",
        "phoneNumber": "text",
        "imageFile": {
          "cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
          "fileId": "text",
          "name": "text",
          "contentType": "text",
          "size": 1,
          "webContentLink": "text",
          "webViewLink": "text",
          "directLink": "text",
          "createdAt": "2025-08-11T02:45:32.163Z"
        },
        "profileLinks": [
          {
            "profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "link": "text"
          }
        ]
      }
    }
  ]
}

Changes active status of an account.

patch

Changes active status of an account.

Authorizations
Path parameters
accountIdstring · uuidRequired

Account ID to change active status.

Responses
200

OK

application/json
patch
PATCH /api/Account/ChangeActiveStatus/{accountId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "username": "text",
  "email": "text",
  "createdAt": "2025-08-11T02:45:32.163Z",
  "updatedAt": "2025-08-11T02:45:32.163Z",
  "isActive": true
}

Updates details of an account.

patch

Updates details of an account.

Authorizations
Body
accountIdstring · uuidOptional
usernamestring | nullableOptional
emailstring | nullableOptional
Responses
200

OK

application/json
patch
PATCH /api/Account/Update HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "username": "text",
  "email": "text"
}
{
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "username": "text",
  "email": "text",
  "createdAt": "2025-08-11T02:45:32.163Z",
  "updatedAt": "2025-08-11T02:45:32.163Z",
  "isActive": true,
  "roles": [
    "Candidate"
  ],
  "profile": {
    "profileId": "123e4567-e89b-12d3-a456-426614174000",
    "firstName": "text",
    "lastName": "text",
    "bioMarkdown": "text",
    "instituteName": "text",
    "phoneNumber": "text",
    "imageFile": {
      "cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
      "fileId": "text",
      "name": "text",
      "contentType": "text",
      "size": 1,
      "webContentLink": "text",
      "webViewLink": "text",
      "directLink": "text",
      "createdAt": "2025-08-11T02:45:32.163Z"
    },
    "profileLinks": [
      {
        "profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "link": "text"
      }
    ]
  }
}

Upgrades a list of accounts to admin.

patch

Upgrades a list of accounts to admin

Authorizations
Body
accountIdsstring · uuid[] | nullableOptional
Responses
200

OK

patch
PATCH /api/Account/MakeAdmin HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "accountIds": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

No content

Sends admin invite to a list of email addresses.

post

Sends admin invite to a list of email addresses.

Authorizations
Body
emailstring[] | nullableOptional
Responses
200

OK

post
POST /api/Account/SendAdminInvite HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "email": [
    "text"
  ]
}

No content

Deletes an account.

delete

Deletes an account.

Authorizations
Path parameters
accountIdstring · uuidRequired

Account ID.

Responses
200

OK

delete
DELETE /api/Account/Delete/{accountId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content