Saltar al contenido principal

Get Profile

GET 

/profile

Fetches the individual information of the logged in user to populate the Profile page.

Responses

Returns user profile

Schema
    first_namestring
    Example: Jane
    last_namestring
    Example: Doe
    emailstring
    Example: jdoe@mail.org
    rolesstring[]
    organization_namestring

Authorization: Authorization

name: Authorizationtype: apiKeydescription: JWT used for authentication, signed with an ES256 private key.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/profile");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Auth
ResponseClear

Click the Send API Request button above and see the response here!

¿Te fue útil esta página?