Logtalk reference manual
Built-in predicate: abolish_protocol/1
Contents > Reference Manual > Built-in Predicates > abolish_protocol/1

## abolish_protocol/1

#### Description

    abolish_protocol(Protocol)

Removes from the database a dynamic protocol.

#### Template and modes

    abolish_protocol(@protocol_identifier)

#### Errors

Protocol is a variable:
  `instantiation_error`
Protocol is neither a variable nor a valid protocol identifier:
  `type_error(protocol_identifier, Protocol)`
Protocol is an identifier of a static protocol:
  `permission_error(modify, static_protocol, Protocol)`
Protocol does not exist:
  `existence_error(protocol, Protocol)`

#### Examples

    | ?- abolish_protocol(listp).