Skip to main content

MagicLinkApi

MethodHTTP requestDescription
CreateMagicLinkUsingPUTPUT /api/web/v1/users/{userid}/magiclinkCreate and get the Magic Link for a user
DeleteMagicLinkUsingDELETEDELETE /api/web/v1/users/{userid}/magiclinkDelete the Magic Link for a given user
GetMagicLinkUsingGETGET /api/web/v1/users/{userid}/magiclinkGet the Magic Link for a user

CreateMagicLinkUsingPUT

MagicLinkResponse CreateMagicLinkUsingPUT (string userid, MagicLinkCreateParms 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.

Using the CreateMagicLinkUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstring
magicLinkCreateParmsMagicLinkCreateParms

Return type

MagicLinkResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

DeleteMagicLinkUsingDELETE

void DeleteMagicLinkUsingDELETE (string userid)

Delete the Magic Link for a given user

Delete the Magic Link for the specified user. Caller requires the MAGICLINKS:REMOVE permission.

Example

Using the DeleteMagicLinkUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user to delete the Magic Link for.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetMagicLinkUsingGET

MagicLink GetMagicLinkUsingGET (string 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

Using the GetMagicLinkUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstring

Return type

MagicLink

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-