기본 구성 상태 수정¶
POST /api/v1/account/status/modify
개요¶
본문 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| accountStatus | string | Y | 계정 상태 working-온콜 중 mute-휴가 중 예시: working 빈 값 허용: False 빈 문자열 허용: True |
매개변수 추가 설명¶
요청 예시¶
curl 'https://openapi.guance.com/api/v1/account/status/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"accountStatus":"working"}'\
--compressed
응답¶
{
"code": 200,
"content": {
"name": "xxx",
"username": "xxxx",
"email": "xxxx",
"mobile": "xxx",
"exterId": "xxx",
"extend": {
"lastLoginTime": 1770118534
},
"source": "local",
"nameSpace": "",
"isUsed": 1,
"agreeTerms": 0,
"canaryPublic": false,
"enableMFA": true,
"mfaSecret": "*********************",
"language": "zh",
"tokenHoldTime": 604800,
"tokenMaxValidDuration": 2592000,
"timezone": "",
"attributes": {},
"customAttributes": {},
"statusPageSubs": 0,
"defaultWorkspace": null,
"brandKey": "guance",
"scheduleMobile": "",
"scheduleEmail": "",
"ifScheduleMobileEnable": false,
"ifScheduleEmailEnable": false,
"accountStatus": "working",
"id": 3404,
"uuid": "acnt_xxx",
"status": 0,
"creator": "extend",
"updator": "acnt_xxx",
"createAt": 1721204694,
"deleteAt": -1,
"updateAt": 1770183209.0309908
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "xxx"
}