/organization/user/{userId}/remind v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Users
postOrganizationUserIdRemind
Code samples
fetch("https://goldleaf.app/api/v1/organization/user/{userId}/remind", {
method: "POST",
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
POST /organization/user/{userId}/remind
Send login reminder to a user
Sends a reminder to a user in the organization to log in. Requires admin role.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string(ObjectId) | true | The ID of the user to remind. |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Reminder sent successfully. | None |
| 400 | Bad Request | Validation error. | None |
| 401 | Unauthorized | Unauthorized. | None |
| 403 | Forbidden | Forbidden. | None |
| 500 | Internal Server Error | Server error. | None |
