OpenAPI User Guide > OpenAPI User Guide > Accessing the Name Server > Name Server Query Syntax > Destroy Attribute Statement--Destroy an Attribute Data Definition
Was this helpful?
Destroy Attribute Statement--Destroy an Attribute Data Definition
This statement deletes an attribute data definition.
This statement has the following syntax:
destroy global|private attribute vnode attr_name attr_value
This statement has the following parameters:
global|private
Specifies a global or private object. A global object is available to all users on the local node. A private object is available to a single user.
vnode
Specifies the virtual node name to be associated with this attribute data definition.
attr_name
Specifies the name of the attribute.
attr_value
Specifies the value of the attribute.
Examples: Destroy attribute statement
The following example destroys a private attribute definition on vnode apitest, where attr_name=connection_type and attr_value=direct:
destroy private attribute connection_type direct
The following example destroys all global attribute data definitions for vnode payroll that include the connection_type attribute:
destroy global attribute payroll connection_type *
Last modified date: 04/03/2024