Update account status

Api Description

POST https://rtk.geodnet.com/api/v3/user/set/status

Request Body

Parameter
Example
Type
Required
Description

appId

geodnet

String

Yes

Application ID

username

geoduser

String

Yes

username

status

1

Number

Yes

0: Enabled; 1: Disabled

time

1718150400000

Number

Yes

Current server timestamp in milliseconds

sign

aa5161309638d773971cb968a6b35c5c

String

Yes

Encrypted signature

Response Body

Parameter
Example
Type
Description

code

1000

Number

Status code

msg

OK

String

Status code description

cURL

curl -X POST "https://rtk.geodnet.com/api/v3/user/set/status" \
  -H "Content-Type: application/json" \
  -d '{
    "appId": "geodnet",
    "username": "geoduser",
    "status": 1,
    "time": 1718150400000,
    "sign": "aa5161309638d773971cb968a6b35c5c"
  }'

Request Example

{
  "appId": "geodnet",
  "username": "geoduser",
  "status": 1,
  "time": 1718150400000,
  "sign": "aa5161309638d773971cb968a6b35c5c"
}

Response

{
  "code": 1000,
  "msg": "OK"
}

Last updated