Deletes (disables) a specific public key registration. Once deleted, the key cannot be used for encryption or decryption operations.
This action cannot be undone. Once a key is deleted, it will be permanently disabled and cannot be reactivated.
Path Parameters
The unique identifier of the public key registration to delete (e.g., 'team_jwk_12345').
Returns
Returns the deleted public key registration object with status changed to disabled
.
curl https://production.methodfi.com/teams/mle/public_keys/team_jwk_12345 \
-X DELETE \
-H "Authorization: Bearer sk_your_token"
{
"success": true,
"data": {
"id": "team_jwk_12345",
"type": "direct",
"jwk": {
"kid": "team_123",
"kty": "RSA",
"alg": "RSA-OAEP-256",
"use": "enc",
"n": "s3C9N7Vz...J7c",
"e": "AQAB"
},
"well_known_endpoint": null,
"status": "disabled",
"contact": "security@yourcompany.com",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
},
"message": null
}