Hanzo AI
OpenapiPatrol

Get key

Returns one key set from the register.

GET /v1/patrol/key/{name}

Addresshttps://api.hanzo.ai/v1/patrol/key/{name}
MethodGET
Operationget_patrol_key_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one key set from the register.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the key set's reference, from the path.

Response

StatusBodyMeaning
200patrol.patrolKeyOutok
defaultproblem-detailsrefused

200 body — 6 fields.

FieldInTypeAlwaysDescription
databodypatrol.patrolKey
data.holderbodystringHolder is who has it now.
data.movedbodystringMoved is when it last changed hands.
data.namebodystringName is the key set's reference, which is its document name.
data.sitebodystringSite is the site the keys open.
data.wherebodystringWhere is where the set is kept.

Failure carries the platform error shape — see Errors.

Examples

hanzo patrol key get <name>

Patrol API · All Hanzo APIs · Interactive reference

How is this guide?

On this page