Skip to content
WP Engine Documentation

Delete an existing SSH key

DELETE
/ssh_keys/{ssh_key_id}
curl --request DELETE \
--url https://api.wpengineapi.com/v1/ssh_keys/example \
--header 'Authorization: Basic <credentials>'

Description

This will delete the SSH key.

ssh_key_id
required
string format: uuid

The ID of the SSH key to delete

Deleted

Media type application/json

Bad Request

Media type application/json

Authentication Error

Media type application/json

Not authorized

Media type application/json

Too many requests

Media type application/json

Service unavailable

Media type application/json