Querying Whether a User Has Signed 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
OK
{ "flag" : true }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
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.