List of all device API keys
Device API key deleted successfully
Details of the specified device API key
The PEM encoded public key for the device
Device API key created successfully
const response = await fetch('https://beta.data.banyan.computer/api/v1/auth/device_api_key', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
[ { "id": "text", "user_id": "text", "fingerprint": "text" } ]
const response = await fetch('https://beta.data.banyan.computer/api/v1/auth/device_api_key/{key_id}', { method: 'DELETE', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "msg": "text" }
const response = await fetch('https://beta.data.banyan.computer/api/v1/auth/device_api_key/{key_id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "user_id": "text", "fingerprint": "text" }
const response = await fetch('https://beta.data.banyan.computer/api/v1/auth/device_api_key', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "pem": "text" }), }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "fingerprint": "text" }