DELETE/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json

Delete an API Key

Deletes a specific API Key from an account. Supply the account SID and the SID of the key you want to remove.

2 parameters
AccountSidstringrequired
The SID of the account that created the key, in the format `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The SID of the key to delete, in the format `SK` followed by 32 hexadecimal characters.

1 status code
204Returns no response body after successfully deleting the key.

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character key SID beginning with SK.