revoke • AI Agent SDK

revoke: Revoke one device; return “False“ if it was unknown.

revoke

Method

</div>

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

Revoke one device; return `False` if it was unknown.

Signature

python
def revoke(device_id: str) -> bool

Parameters

ParamField str

No description available.

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 425