{
    "swagger":"2.0",
    "info":{
        "title":"REST API to Enable MFA in Oracle Access Manager",
        "description":"The Oracle Access Manager ENABLE MFA  REST API enables MFAEnabled feature and let you configure mutlti factor authentication. This document contains enable mfa Rest APIs for  12C.",
        "version":"2025.02.26",
        "x-summary":"The Oracle Access Manager ENABLE MFA REST API enables MFAEnabled feature and let you configure mutlti factor authentication."
    },
    "schemes":[
        "https"
    ],
    "consumes":[
        "application/json"
    ],
    "paths":{
        "oam/services/rest/access/api/v1/control/feature":{
            "put":{
                "summary":"Enable/Disable TOTP based MFA  ",
                "description":"The configuration at the requested path  is used to set mfa enable flag for  TOTP based MFA",
                "consumes":[
                    "text/xml, application/xml"
                ],
                "produces":[
                    "*/*"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"state",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/state"
                        }
                    },
                    {
                        "in":"body",
                        "name":"componentName",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/componentType"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"Path of the modified configuration",
                        "schema":{
                            "format":"*/*",
                            "type":"string"
                        }
                    },
                    "404":{
                        "description":"Error",
                        "schema":{
                            "$ref":"#/definitions/errorresponse"
                        }
                    }
                },
                "schemes":[
                    "https"
                ],
                "deprecated":false,
                "tags":[
                    "REST API to Enable MFA in Oracle Access Manager"
                ],
                "x-internal-id":"am-services-rest-access-api-v1-control-feature-put",
                "x-filename-id":"am-services-rest-access-api-v1-control-feature-put"
            }
        }
    },
    "definitions":{
        "state":{
            "type":"object",
            "properties":{
                "state":{
                    "type":"string",
                    "description":"The provided configuration represented feature modification supported types will be updated. "
                }
            },
            "required":[
                "state"
            ]
        },
        "componentType":{
            "type":"object",
            "properties":{
                "componentType":{
                    "type":"string",
                    "description":"The provided configuration updates the componenttype to TOTP. "
                }
            },
            "required":[
                "componentType"
            ]
        },
        "errorresponse":{
            "type":"object",
            "properties":{
                "errorCode":{
                    "type":"string"
                },
                "errorDesc":{
                    "type":"string"
                }
            }
        }
    },
    "tags":[
        {
            "name":"REST API to Enable MFA in Oracle Access Manager",
            "description":"The REST endpoint is used to configure enable/disable MFA Feature."
        }
    ]
}