Skip to navigation

Enable magic link login for a user type

View as Markdown

Enables magic link login for the given user type in the current tenant by removing the user type’s record from tenant_user_type_access_config (a record there means the user type is blocked). The user type must be a login-eligible type (EMPLOYEE, EXTERNAL, or AI_EMPLOYEE).

Authentication

X-Api-Keystring
API Key authentication via header

Headers

X-Workspace-IdstringOptional

Request

This endpoint expects an object.
user_typeenumRequired

Type of user. EMPLOYEE, EXTERNAL, and AI_EMPLOYEE are the three assignable human/agent types valid for access-control block/unblock operations. ATOMIC_BOT and SYSTEM are platform-internal types that appear in audit fields (created_by, updated_by) on AI-agent responses but are not valid targets for block/unblock operations.

Allowed values:

Response

Successful response