Was this helpful?
/auth/device_api_key
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/auth/device_api_key' \ --header 'Authorization: Bearer JWT'
[ { "id": "text", "user_id": "text", "fingerprint": "text" } ]
The PEM encoded public key for the device
curl -L \ --request POST \ --url 'https://beta.data.banyan.computer/api/v1/auth/device_api_key' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "pem": "text" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "fingerprint": "text" }
/auth/device_api_key/{key_id}
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/auth/device_api_key/{key_id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "user_id": "text", "fingerprint": "text" }
curl -L \ --request DELETE \ --url 'https://beta.data.banyan.computer/api/v1/auth/device_api_key/{key_id}' \ --header 'Authorization: Bearer JWT'
No body