Delete API key
DELETE
CoderSessionTokenheader
Coder-Session-Token<token>user*stringUser ID, name, or me
keyid*stringKey ID
Format
stringNo Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X DELETE \ "$CODER_URL/api/v2/users/{user}/keys/{keyid}" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response204
Empty