• Topics

X-Sign OpenAPI

X-sign 2.0 / X-Sign OpenAPI / Documentation / APIs

User

2021 / 04 / 21

GET /user
Get user info by Authorization (Bearer)
Request Parameter

Name Schema Description
Name
field
Schema

Optional.

Type: array|In:['company_name']

Description
return external fields

curl -X GET "/user"


-H "Content-Type: application/json"

-H "Authorization: Bearer sdk308123903"

Response Code
General HTTP Status Code

Code Description
Code
200
Description
Success

Response Value -200

Name Schema Description
Name
*data
Schema
Type:Model - user
Description
user info

{



"data":{
"id":2,

"company_id":3,
"name": "Admin",
"account":"admin",
"email":"Admin@BenQ.com",
"timezone":"Asia/Taipei",
"role":"administrator",
"created_at": "2019-11-29 10:10:10",
"updated_at": "2019-11-29 10:10:10"

}

}