updateClientStatus

Updated at:

Request URL: console-rpa.aliyun.com/rpa/openapi/client/updateClientStatus

Request method: POST

Response format: JSON

Description: Modifies the authentication status of a client.

Request parameters

Name

Type

Required

Example

Description

clientId

String

Yes

5E77DA4EB87BCFB62A8B9527626A47F4

The unique identifier of the client.

status

String

Yes

unauthorized

Client authentication status

Response parameters

For information about common response parameters, see Return results. The data field in the response is a boolean value, where `true` indicates that the modification was successful and `false` indicates that the modification failed.

Name

Type

Example

Description

requestId

String

39e52259-ab2f-4d53-8d59-1a297259964e

The ID of the request.

success

Boolean

true

Indicates whether the request was successful.

code

Integer

0

The status code.

msg

String

The call was successful

The message returned for the request.

msgCode

String

result.success

The message code returned for the request.

data

Boolean

true

Indicates whether the status was successfully modified.

pager

Object

null

The returned pager value is null.

Examples

Request example:

https://console-rpa.aliyun.com/rpa/openapi/client/updateClientStatus?<Common request parameters>
&clientId=5E77DA4EB87BCFB62A8B9527626A47F4
&status=unauthorized

Response example:

{
"requestId":"39e52259-ab2f-4d53-8d59-1a297259964e",
"success":true,
"code":0,
"msg":"The call was successful",
"msgCode":"result.success",
"data":true,
"pager":null}