Console API
  1. User
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
      GET
    • Create
      POST
    • Rename
      PUT
    • Delete
      DELETE
    • Manage tags
      POST
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
    • Get all user groups
    • Create user group
    • Update user group
    • Get roles
    • Get user vpcs
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. User

User Info

Developing
GET
/api/v1/user

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
OrgId
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/user' \
--header 'OrgId;'

Responses

🟢200Success
application/json
Body
id
string 
required
user_name
string 
required
email
string 
required
first_name
string 
required
last_name
string 
required
phone_number
string 
required
roles
array[string]
required
status
string 
required
created_at
string 
required
ended_at
null 
required
is_enabled_2fa
null 
required
role_id
string 
required
is_new_user
null 
required
is_verified_otp
boolean 
required
Example
{
    "id": "8885b76b-d606-5678-1234-e2f62999bfea",
    "user_name": "abcd@fpt.com",
    "email": "abcd@fpt.com",
    "first_name": "first_name",
    "last_name": "last_name",
    "phone_number": "09377123456",
    "roles": [
        "user"
    ],
    "status": "ACTIVE",
    "created_at": "2021-12-31T07:41:11",
    "ended_at": null,
    "is_enabled_2fa": null,
    "role_id": "",
    "is_new_user": null,
    "is_verified_otp": false
}
Modified at 2024-01-22 10:21:38
Next
Get Regions & Tenant info
Built with