PUT /superAdmin/{product}/mfa – Updates Super Admin MFA requirement for a specific product.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
enabled: boolean
tenantList: string[]
Path Parameters:
product: ProductKey
Query Parameters:
200 OK
201 Created
400
401
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
PUT /superAdmin/CTS/mfa{ "enabled": true, "tenantList": ["tenant1", "tenant2"]} Copy
PUT /superAdmin/CTS/mfa{ "enabled": true, "tenantList": ["tenant1", "tenant2"]}
PUT /superAdmin/CTS/mfa{ "enabled": false, "tenantList": ["test-tenant-1", "test-tenant-2"]} Copy
PUT /superAdmin/CTS/mfa{ "enabled": false, "tenantList": ["test-tenant-1", "test-tenant-2"]}
{ "product": "CTS", "enabled": false, "tenantList": ["test-tenant-1", "test-tenant-2"], "updatedAt": "2025-10-03T15:30:00.000Z", "expiresAt": 1728055800} Copy
{ "product": "CTS", "enabled": false, "tenantList": ["test-tenant-1", "test-tenant-2"], "updatedAt": "2025-10-03T15:30:00.000Z", "expiresAt": 1728055800}
enabled
tenantList
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
PUT /superAdmin/{product}/mfa – Updates Super Admin MFA requirement for a specific product.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
enabled: boolean(required) - Whether MFA is required for Super AdminstenantList: string[](optional) - List of test tenants that bypass MFA requirementPath Parameters:
product: ProductKey(required) - The product identifier (CTS, EGRANTS, etc.)Query Parameters:
📤 Response
200 OK– Returns the Super Admin MFA configuration (updated or unchanged).201 Created– Returns the newly created Super Admin MFA configuration (if none existed).❗ Errors
400401500Error Response Format
📦 Examples
📥 Enable MFA Request
📥 Disable MFA Request (Auto-reverts after 45 minutes)
📤 Response Example
💡 Optimization Notes
enabledvalue andtenantList), no database write occurs