Delete a Kerberos realm
DELETE /protocols/nfs/kerberos/realms/{svm.uuid}/{name}
Introduced In: 9.6
Deletes a Kerberos realm.
- 
vserver nfs kerberos realm delete 
Learn more
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
svm.uuid  | 
string  | 
path  | 
True  | 
SVM UUID  | 
name  | 
string  | 
path  | 
True  | 
Kerberos realm  | 
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response codes
| Error codes | Description | 
|---|---|
1966125  | 
Failed to remove hosts entry.  | 
1966126  | 
Failed to lookup hosts entry.  | 
2949141  | 
Failed to lookup Kerberos realm.  | 
2949142  | 
Failed to remove Kerberos realm.  | 
3276942  | 
Service principal name is invalid. It must of the format:"nfs/  | 
3276976  | 
"realm" is a required input  | 
3276998  | 
Only the data Vservers can own NFS Kerberos realms.  | 
| 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  | 
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.  |