curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/mailboxes/{mailbox_id}/revoke-key' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"fingerprint": "sha256:9f86d081884c7d659a2feaa0c55ad015"
}'
Revoke key
Key revoked in live sessions; revoking the last key disables the mailbox
POST
/
v1
/
hosted-sftp
/
mailboxes
/
{mailbox_id}
/
revoke-key
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/mailboxes/{mailbox_id}/revoke-key' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"fingerprint": "sha256:9f86d081884c7d659a2feaa0c55ad015"
}'
Path parameters
string
required
Resource identifier
Request body
KeyRevocation
string
required
Response
No response body. Key revoked in live sessions; revoking the last key disables the mailbox.Status codes
| Code | Meaning |
|---|---|
200 | Key revoked in live sessions; revoking the last key disables the mailbox |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/mailboxes/{mailbox_id}/revoke-key' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"fingerprint": "sha256:9f86d081884c7d659a2feaa0c55ad015"
}'
Last modified on October 20, 2026