Was this helpful?
/users/current
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/users/current' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "email": "text", "display_name": "text", "locale": "text", "profile_image": "text", "accepted_tos_at": 1, "account_tax_class": "text", "subscription_id": "text", "subscription_valid_until": "2025-03-13T16:41:06.482Z", "monthly_egress": 1 }
curl -L \ --request PATCH \ --url 'https://beta.data.banyan.computer/api/v1/users/current' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "id": "text", "email": "text", "display_name": "text", "locale": "text", "profile_image": "text", "accepted_tos_at": 1, "account_tax_class": "text", "subscription_id": "text", "subscription_valid_until": "2025-03-13T16:41:06.482Z", "monthly_egress": 1 }'
No body