Users.deleteContactType (Method)

Deletes a contact type record.

Returns:

Void

Arguments:

Name Type Required Description
id ContactTypeID Required The contact type's ID.

Context:

License Requirements None
Permission Requirements customer:ManageUsers
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the customer level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
66021 You cannot delete the specified contact type as some contacts are associated to it.
66036 You cannot delete the default contact type.

Notes:

None