MagicLinkApi
Method | HTTP request | Description |
---|---|---|
createMagicLinkUsingPUT | PUT /api/web/v1/users/{userid}/magiclink | Create and get the Magic Link for a user |
deleteMagicLinkUsingDELETE | DELETE /api/web/v1/users/{userid}/magiclink | Delete the Magic Link for a given user |
getMagicLinkUsingGET | GET /api/web/v1/users/{userid}/magiclink | Get the Magic Link for a user |
createMagicLinkUsingPUT
MagicLinkResponse createMagicLinkUsingPUT(userid, magicLinkCreateParms)
Create and get the Magic Link for a user
Create and get the Magic Link for the specified user. Caller requires the MAGICLINKS:ADD permission.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | String | ||
magicLinkCreateParms | MagicLinkCreateParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
deleteMagicLinkUsingDELETE
deleteMagicLinkUsingDELETE(userid)
Delete the Magic Link for a given user
Delete the Magic Link for the specified user. Caller requires the MAGICLINKS:REMOVE permission.
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | String | The UUID of the user to delete the Magic Link for. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
getMagicLinkUsingGET
MagicLink getMagicLinkUsingGET(userid)
Get the Magic Link for a user
Get information about the Magic Link for the specified user if one has been created. Caller requires the MAGICLINKS:VIEW permission.
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | String |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |