Skip to main content

API for One Time Url

POST /admin/onetime-urls

Creates a new one time url.

Required global privilege: Issue Onetime

Request

user
User to be issued a temporarily available login string, either userEmail or loginId. (string)
Example
POST /api/admin/onetime-urls HTTP/1.1
Content-Type: application/json

{
"user": "user1@example.com"
}

Response

onetimeString
Temporarily available login string. (string)
Example
HTTP/1.1 201
Content-Type: application/json

{
"onetimeString": "3wmxz4rjlibod4y2uxa7qgrizx278q4r"
}