Update a Magic Link Connection
PUT {{cryptr_service_url}}/api/v2/org/:org_domain/magic-link-connection?find_or_create_user=false&active=true
Update a Magic Link Connection for an Organization by providing the org_domain
, and modify the find_or_create_user
key to determine whether to automatically register users on their first login or restrict access to existing users.
RETURNS
If the request is successful, the API returns an updated MagicLinkConnection object, confirming the modifications made to the Magic Link Connection for the specified organization.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
find_or_create_user | boolean | Default: false. Flag that finds OR creates the user. | |
True: use the User, if and only if it exists, or create the User | |||
False: User MUST exist for challenge creation. | |||
active | boolean | Allows you to activate or disable this MagicLinkConnection for authentication processes within the selected organization. | |
Set to false to disable it, set to true to enable it. |
RESPONSES
status: OK
{"__type__":"MagicLinkConnection","active":true,"find_or_create_user":false,"id":"6cb338dc-e525-4ca9-bec7-3be556661d25","inserted_at":"2024-07-24T07:26:37","sign_in_template_id":null,"updated_at":"2024-07-24T07:26:37"}