Public signup tokens
Add a user via a signup token
Changed onCreate a user with the viewer root role and link them to the provided signup token
post/invite/{token}/signup
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/invite/{token}/signup
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
tokenstring required
Request body
Example request
{
"username": "Hunter",
"email": "hunter@example.com",
"name": "Hunter Burgan",
"password": "hunter2"
}Response
userSchema
Example response
{
"id": 123,
"name": "User",
"email": "user@example.com",
"username": "hunter",
"imageUrl": "https://example.com/242x200.png",
"inviteLink": "http://localhost:4242/invite-link/some-secret",
"loginAttempts": 3,
"rootRole": 1,
"seenAt": "2023-06-30T11:42:00.345Z",
"createdAt": "2023-06-30T11:41:00.123Z",
"accountType": "User",
"scimId": "01HTMEXAMPLESCIMID7SWWGHN6",
"seatType": "Regular",
"companyRole": "Developer",
"activeSessions": 2,
"deletedSessions": 1
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info