Checking Whether a User Has Agreed to the Privacy Agreement
Function
This API is used to query whether a user has signed the privacy agreement.
Calling Method
For details, see Calling APIs.
URI
GET /v3/privacy-agreements
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | The user token. The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Response
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| flag | Boolean | The result of the request to query whether the user has signed the privacy agreement. |
Example Request
This example queries whether a user has signed the privacy agreement.
GET https://{endpoint}/v3/privacy-agreements Example Response
Status code: 200
Querying whether a user has agreed to the privacy agreement succeeded.
{
"flag" : true
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Querying whether a user has agreed to the privacy agreement succeeded. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot