Execute Bulk Migration Action
Execute bulk actions for user migration.
Quick Navigation
Outline
Endpoint
POST /api/v1/sso/enforcement/bulk-action/{organization_id}?action=send_mfa_reminders
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Organization ID |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | Action: "send_mfa_reminders", "send_sso_reminders", or "generate_migration_report" |
Request Body
{
"user_ids": [1, 2, 3]
}
Response
Success (200)
{
"success": true,
"data": {
"action": "send_mfa_reminders",
"users_affected": 25,
"message": "Bulk action 'send_mfa_reminders' executed successfully"
},
"message": "Bulk action 'send_mfa_reminders' executed successfully"
}
Features
Execute bulk actions:
- 'send_mfa_reminders': Send MFA setup reminders
- 'send_sso_reminders': Send SSO migration reminders
- 'generate_migration_report': Generate detailed migration report
- Optional user_ids list (if not provided, applies to all users)