Parameters

userCredential: the client user credential.

requestedLocale: optional locale to use for this request.

partitionName: optional name of the campaign partition to use.

reference: optional reference of the component or template that contains the attributes to be deleted. If not supplied, then the delete is restricted to global metadata definitions. Throws InvalidComponentException if the supplied reference is invalid.

Note: If the optional array of names of the attribute metadata is not supplied, then this method attempts to delete all custom attribute metadata that is associated with the component, or all global definitions if the reference was not provided.

names: optional array of names of the attribute metadata to delete. Throws AttributeNotFoundException if one or more of the named attribute metadata does not exist. Throws InvalidAttributeException if an attribute could not be removed.