deleteAttributeType

This method deletes not only the Attribute Type record, but ALL attributes of that type, including any historical time/expense/travel attributes.

WARNING

Since this causes a lot of records to be deleted, it should be used with caution. Only users with administrator priveleges may run this command.

PARAMETERS

Param 1: id_attr_type (string) -- The ID of the Attribute Type that you wish to delete.

RETURN VALUE

Returns None if successfull.

EXCEPTIONS

If you lack the requisite privileges (admin ability) RuntimeError will be raised.

If the Attribute Type ID you provide does not exist, ValueError will be raised.

Arguments

Name Type Description
skey string

id_attr_type string

Return

The deleteAttributeType method returns an integer.