HTTPS account and password verification
Function
Check whether the user name and password entered when a user uploads or downloads code using HTTPS are valid.
URI
POST /v2/user/{iam_user_uuid}/validate-https-info
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
iam_user_uuid |
Yes |
String |
User iam_user_uuid |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
pwd |
Yes |
String |
HTTPS password |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error |
Error object |
Response error. |
result |
String |
Result |
status |
String |
Status code in a response |
Example Requests
POST https://{endpoint}/v2/user/{iam_user_uuid}/validate-https-info { "pwd" : "repo@123" }
Example Responses
Status code: 200
OK
{ "result" : "verificationPassed", "status" : "success" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.