Docs Home Return to Homepage
Get Started Login

Remove Crate SSH Key

Last updated Changelog

On this page
http
DELETE /crates/{handle}/keys/{fingerprint}

Takes the key off the crate, and so off every login that accepted it. {fingerprint} is the key’s fingerprint as listed, with or without SHA256:. Its / and + can be sent as they are. 404 when the crate has no such key.

Response

json
{ "message": "Key removed from the crate." }

Errors

Besides the errors any endpoint can return:

Status Code When
400 operation_rejected The server behind the API (mail, database, storage) or the registrar refused the operation. error says why.
403 scope_denied This API key does not have Crates write access for this crate.
403 service_inactive This crate is not active.
404 not_found Key not found. Crate not found.
502 upstream_unavailable This crate has no storage node.

Snagged on something?

Our sysadmins answer tickets around the clock.