Delete an existing schema
Deletes an existing schema to remove its configuration from the system. Use this when you need to clean up or reorganize schema resources.
HTTP method and endpoint
DELETE /name-services/ldap-schemas/{owner.uuid}/{name}
Introduced in
ONTAP 9.11
Related ONTAP commands
-
vserver services name-service ldap client schema delete
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
owner.uuid |
string |
path |
True |
UUID of the owner to which this object belongs. |
name |
string |
path |
True |
LDAP schema name. |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
4915204 |
Failed to delete. The LDAP schema is being used by at least one LDAP client configuration. |
4915205 |
The LDAP schema is a default schema and cannot be modified or deleted. |
4915217 |
LDAP schema is owned by the admin SVM. |
| 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. |