key/revoke

session required
POST
https://keybase.io/_/api/1.0/key/revoke.json
SAMPLE PARAMS
revocation_type:   0
kid:               "a140c70404a13370f7..."
csrf_token:        "lgwefwefwHZIwfee99..."
SAMPLE OUTPUT
{
  "status": {
    "code": 0,
    "name": "OK"
  },
  "csrf_token": "lgHZIDU1YzA3OWJmNWYxNjUwZ..."
}
WATCH FOR
"BAD_SESSION"
"NOT_FOUND"

Revocation type

Currently, the only acceptable type of revocation is a simple delete (0), which means you just delete the key from Keybase. It's technically not a revocation at all. In the near future, you will be able to post revocations to the server, too.


Pssst, we're hiring.