Delete the TOTP profile for a user account
DELETE /security/login/totps/{owner.uuid}/{account.name}
Introduced In: 9.13
The DELETE method is no longer supported for this API. Deletion of TOTP profiles now requires interactive confirmation using a one-time password or scratch code, which cannot be securely handled over REST. You can use the ONTAP CLI command "security login totp delete" to remove a TOTP profile. The CLI prompts you for verification and provides proper authentication.
Related ONTAP commands
-
security login totp delete
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
owner.uuid |
string |
path |
True |
Account owner UUID. |
account.name |
string |
path |
True |
Account user name. |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
144834569 |
The DELETE method is no longer supported for this API. For security reasons, deletion of TOTP profiles now requires interactive confirmation using a one-time password or scratch code, which cannot be securely handled over REST. Use the ONTAP CLI command "security login totp delete" to remove a TOTP profile, as it will prompt for verification and ensure proper authentication. |
Also see the table of common errors in the Response body overview section of this documentation.
| Name | Type | Description |
|---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
error_arguments
| Name | Type | Description |
|---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
| Name | Type | Description |
|---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |