Skip to main content

Delete an existing schema

Contributors

DELETE /name-services/ldap-schemas/{owner.uuid}/{name}

Introduced In: 9.11

Deletes an existing schema.

  • 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

returned_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.