API ReferenceManagementEnchanted Link Management
GET
/v1/mgmt/enchantedlink/settings

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Get the project's enchanted link settings, using a valid management key.

curl -X GET "https://api.descope.com/v1/mgmt/enchantedlink/settings"
{  "enabled": true,  "expirationTime": 0,  "expirationTimeUnit": "string",  "redirectUrl": "string",  "emailServiceProvider": "string",  "emailTemplateId": "string"}
/** * Enchanted link (Terraform: descope_enchantedlink_settings). Carries the same representation *  used in exported snapshots, and the Get response and Set request are the same message. *  Patch semantics: omitted fields are left untouched; present fields are written. */export interface Response {enabled?: booleanexpirationTime?: numberexpirationTimeUnit?: stringredirectUrl?: stringemailServiceProvider?: string/** * Active template selection by id. Absent = keep the current selection; "" = reset to the *  built-in System template; a template id = select that stored template. */emailTemplateId?: string}
Was this helpful?