APIPublic keys
Deactivate a public key
Deactivate one public key within one project. Recently validated requests may continue to authenticate for a short period after deactivation.
Path Parameters
keyId*string
Public key ID to deactivate.
Format
uuidQuery Parameters
projectId?string
Project containing the key. Auto-filled from CLI and SDK context when omitted.
Format
uuidResponse Body
application/json
curl -X POST "https://example.com/public-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/deactivate"{ "publicKey": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "expiresAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "dataSourceConnectionId": "e8df4b8d-8a16-4b16-83a1-035efa52dfd9", "deactivatedAt": "2019-08-24T14:15:22Z" }}