DELETE /keys/{id}
Revoke a key.
DELETE https://marketmayhem.co/api/v1/keys/{id}Parameters
Section titled “Parameters”| Name | In | Required | Meaning |
|---|---|---|---|
id | path | yes | The key id |
Response
Section titled “Response”| Field | Type | Required | Meaning |
|---|---|---|---|
revoked | boolean | yes | |
id | string | yes |
Errors
Section titled “Errors”Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer:
KEY_NOT_FOUND: No such key on this wallet.API_KEY_REQUIRED: This endpoint needs your key.INVALID_ID: That is not a key id.