# Lean - enrollDisposableWithSamlNoOtp method

This method allows to enroll a disposable with a SPID or CIE assertion without OTP.
The LRA has to be authorized to enroll a disposable without OTP.

DEPRECATED API
Use the [enroll with eid assertion method](/it/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-eid-assertion-method) specifying  `DisposableCertificate.type=DISPOSABLE` and `DisposableCertificate.otpType = NO_OTP`

REST API
No REST API available for this method. Use the [enroll with eID assertion method](/it/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-eid-assertion-method) instead.

SOAP API
The SOAP interface is deprecated. Use the REST API instead.

**Method:**  enrollDisposableWithSaml

| **Parameter** | **Description** | **Mandatory** |
|  --- | --- | --- |
| holder | DisposableSAMLHolder object | YES |
| cert | [`DisposableCertificate` object](/it/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate) | YES |
| lraid | The LRA identification code | NO |


Request example

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.nam/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:enrollDisposableWithSamlNoOtp>
         <samlHolder>
            <email></email>            
            <SAML>PHNhbWwycD.......pBc3NlcnRpb24+PC9zYW1sMnA6UmVzcG9uc2U+</SAML>            
            <samlType>SPID</samlType>
         </samlHolder>
         <cert>
            <fullData>false</fullData>
            <password>44444444</password>
            <securityCode>12345678</securityCode>
            <type>DISPOSABLE</type>
            <withoutUsageLimitLRA>false</withoutUsageLimitLRA>
         </cert>
        <lraid>111</lraid>
      </ser:enrollDisposableWithSamlNoOtp>
   </soapenv:Body>
</soapenv:Envelope>
```

**Response Example**

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:enrollDisposableWithSamlNoOTPResponse xmlns:ns2="http://service.ws.nam/">
         <return>
            <cert>LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUlNRENDQnhp........VRFLS0tLS0=</cert>
            <certIdOtp>0</certIdOtp> 
            <certSerialNumber>17639DE3E4492628</certSerialNumber>
            <certType>DISPOSABLE</certType>
            <certUsageLimit>L utilizzo del certificato e limitato ai rapporti con NAMIRIAL S.P.A. CA/The certificate may be used only for relations with the NAMIRIAL S.P.A. CA</certUsageLimit>
            <deviceCode>RHIDP2211114824516</deviceCode>
         </return>
      </ns2:enrollDisposableWithSamlNoOTPResponse>
   </soap:Body>
</soap:Envelope>
```