Send Migration Notifications
Send migration notifications to users.
Quick Navigation
Endpoint
POST /api/v1/sso/enforcement/notifications/{organization_id}?notification_type=mfa_setup
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Organization ID |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
notification_type | string | Yes | Type 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