Get User Domain¶
Get the domain information of a user using the email address.
Request Format¶
GET http://{apigw-address}/app-portal-service/v2.2/user/domain
Request Parameters (URI)¶
Name  | 
Location (Path/Query)  | 
Required/Optional  | 
Data Type  | 
Description  | 
|---|---|---|---|---|
Query  | 
Required  | 
String  | 
The user’s email address.  | 
Response Parameters¶
Name  | 
Data Type  | 
Description  | 
|---|---|---|
id  | 
String  | 
The domain ID.  | 
name  | 
String  | 
The default name of the domain.  | 
url  | 
String  | 
The domain URL.  | 
description  | 
String  | 
The default description of the domain.  | 
nameJson  | 
I18nString  | 
The domain name in multiple languages.  | 
descriptionJson  | 
I18nString  | 
The domain description in multiple languages.  | 
Error Code¶
Code  | 
Description  | 
|---|---|
31400  | 
Email is required  | 
31404  | 
The email address is not bound to an account  | 
Samples¶
Request Sample¶
url: http://{apigw-address}/app-portal-service/v2.2/user/domain?email=your_email
method: GET
Return Sample¶
{
    "code":0,
    "data":{
        "id":"your_domain_id",
        "name":"your_domain_name",
        "nameJson": {
            "default": "your_domain_name"
         },
        "url":"your_domain_url",
        "description":"domain description"
        "descriptionJson": {
            "default": "domain description"
        },
    },
    "message":""
}