Modifying User Information
Function
Modify user information.
URI
PUT /koodrive/ose/v1/user/info
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Definition: Access token. Token authentication is used to call KooDrive APIs. A token indicates the permission. When an API is called, the token is added to the request header to obtain the operation permission. Format: AT+{access_token} Constraints: N/A Range: N/A Default Value: N/A |
| X-Traceid | No | String | Definition: Service trace ID, which contains 58 bits. Constraints: N/A Range: The value contains 58 bits. Default Value: N/A |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| firstname | No | String | Username. |
| surname | No | String | Family name. |
| | No | String | Email address. |
| userId | Yes | String | ID of the user to be modified. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| code | String | Error Codes |
| msg | String | Error description. |
Example Requests
PUT /koodrive/ose/v1/user/info
{
"surname" : "18168538439",
"userId" : "1716086185916545921"
} Example Responses
Status code: 200
Response to the request for modifying user information.
{
"code" : 0,
"msg" : "Success"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Response to the request for modifying user information. |
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