revoke • AI Agent SDK

revoke: Revoke authorization for a channel.

revoke

Method

</div>

This is a method of the PairingProtocol class in the protocols module.

Revoke authorization for a channel.

Signature

python
def revoke(channel_id: str, channel_type: str) -> bool

Parameters

ParamField str

Channel identifier

ParamField str

Type of channel

Returns

ResponseField bool

True if revocation successful, False if not found

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3121