forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
7.8 KiB
7.8 KiB
Sending a Welcome Email to a User
Function
This API is used by the administrator to send a welcome email to a user.
URI
POST /v3.0/OS-USER/users/{user_id}/welcome
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
user_id |
Yes |
String |
User ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Conent-Type |
Yes |
String |
Fill application/json;charset=utf8 in this field. |
X-Auth-token |
Yes |
String |
Token with Security Administrator permissions. |
Response Parameters
None
Example Request
POST https://sample.domain.com/v3.0/OS-USER/users/{user_id}/welcome
Example Response
Status code: 200
The request is successful.
{ "success" }
Status Codes
Status Code |
Description |
---|---|
200 |
The email is sent to the user successfully. |
400 |
The email address does not exist. |
403 |
Access denied. |
500 |
Internal system error. |
Error Codes
For details, see Error Codes.
Parent topic: User Management