cURL
curl --request DELETE \ --url https://www.lettucestream.com/api/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "keyId": "<string>" } '
[ { "id": "<string>", "label": "<string>", "prefix": "<string>", "createdAt": "<string>", "lastUsedAt": "<string>", "revokedAt": "<string>" } ]
Revokes an API key and returns the updated key list.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Updated API key list