curl --request GET \
--url https://api.gputrader.io/v1/users/me \
--header 'X-API-Key: <api-key>'
{
"orgId": "<string>",
"userId": "<string>",
"userRole": "HOST",
"sshKeys": [
{
"name": "<string>",
"publicKey": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"favoriteEnvIds": [
"<string>"
],
"stripeCheckoutSessionId": "<string>",
"orgName": "<string>"
}
Retrieve the authenticated user’s profile information
curl --request GET \
--url https://api.gputrader.io/v1/users/me \
--header 'X-API-Key: <api-key>'
{
"orgId": "<string>",
"userId": "<string>",
"userRole": "HOST",
"sshKeys": [
{
"name": "<string>",
"publicKey": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"favoriteEnvIds": [
"<string>"
],
"stripeCheckoutSessionId": "<string>",
"orgName": "<string>"
}
Successfully retrieved user profile
The response is of type object
.