Skip to main content

Send Migration Notifications

Send migration notifications to users.

Quick Navigation
Outline

Endpoint

POST /api/v1/sso/enforcement/notifications/{organization_id}?notification_type=mfa_setup

Headers

HeaderRequiredDescription
AuthorizationYesBearer <access_token>

Path Parameters

ParameterTypeRequiredDescription
organization_idintegerYesOrganization ID

Query Parameters

ParameterTypeRequiredDescription
notification_typestringYesType of notification: "mfa_setup", "sso_migration", or "enforcement_warning"

Response

Success (200)

{
"success": true,
"data": {
"notifications_sent": 25,
"notification_type": "mfa_setup",
"message": "Migration notifications sent successfully"
},
"message": "Migration notifications sent successfully"
}

Features

Send migration notifications to users:

  • 'mfa_setup': Notify users to set up MFA
  • 'sso_migration': Notify users to migrate to SSO
  • 'enforcement_warning': Send enforcement warning