Remove an SSH key

Delete an SSH key that no server uses. We remove it from every other zone in the background. The slug stays taken until the key is gone from every zone.

DELETE https://{availability_zone}.betterstackcloud.com/v1/ssh-keys/{slug}
slug string required

The slug of the key. Dots are part of the slug.

team_id string

The ID of the team that owns the key. Send it when more than one of your teams has a key with this slug.

Authorization string required

Bearer $TOKEN

204 No Content

The SSH key is deleted. The response has no body.