Account
Retrieves accounts with details.
Authorizations
Query parameters
pageIndexinteger · int32OptionalDefault:
Page number.
1
pageSizeinteger · int32OptionalDefault:
Accounts per page.
10
searchTermstringOptional
Optional search filter.
rolestring · enumOptionalPossible values:
Optional account role
Responses
200
OK
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
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.
Authorizations
Path parameters
accountIdstring · uuidRequired
Account ID to change active status.
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
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.
Authorizations
Body
accountIdstring · uuidOptional
usernamestring | nullableOptional
emailstring | nullableOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
409
Conflict
application/json
500
Internal Server Error
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
Authorizations
Body
accountIdsstring · uuid[] | nullableOptional
Responses
200
OK
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
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.
Authorizations
Body
emailstring[] | nullableOptional
Responses
200
OK
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
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.
Authorizations
Path parameters
accountIdstring · uuidRequired
Account ID.
Responses
200
OK
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
delete
DELETE /api/Account/Delete/{accountId} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
No content