POST Admins?appid={appid}&sg={sg}&hash={hash}&token={token}
Add New Administrator to Application
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| appid |
The Application ID |
string |
Required |
| sg |
security group |
string |
Required |
| hash | string |
Required |
|
| token |
token |
string |
Required |
Body Parameters
The Admin Model
Admins| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| name | string |
None. |
|
| pwd | string |
None. |
|
| appid | string |
None. |
|
| string |
None. |
||
| phone_number | string |
None. |
|
| sms_phonenumber | string |
None. |
|
| phone_number_country_code | string |
None. |
|
| sms_phonenumber_country_code | string |
None. |
|
| require_2fa | boolean |
None. |
|
| is_2fa_initialized | boolean |
None. |
|
| second_factor_method | string |
None. |
|
| scante | string |
None. |
|
| guid | string |
None. |
|
| guid_datetime | date |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
New Administrator ID
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>