Skip to main content

core_users_me_retrieve

GET 

/api/v3//core/users/me/

Get information about current user

Responses

Schema
    user objectrequired

    User Serializer for information a user can retrieve about themselves

    pkID (integer)required
    usernamestringrequired

    Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

    Possible values: <= 150 characters, Value must match regular expression ^[\w.@+-]+$

    namestringrequired

    User's display name.

    is_activeActive (boolean)required

    Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

    is_superuserbooleanrequired
    groups object[]required
  • Array [
  • namestringrequired
    pkstringrequired
  • ]
  • emailemail

    Possible values: <= 254 characters

    avatarstringrequired

    User's avatar, either a http/https URL or a data URI

    uidstringrequired
    settings objectrequired

    Get user settings with brand and group settings applied

    property name*any

    Get user settings with brand and group settings applied

    typeUserTypeEnum (string)

    Possible values: [internal, external, service_account, internal_service_account]

    system_permissionsstring[]required

    Get all system permissions assigned to the user

    original object

    User Serializer for information a user can retrieve about themselves

    pkID (integer)required
    usernamestringrequired

    Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

    Possible values: <= 150 characters, Value must match regular expression ^[\w.@+-]+$

    namestringrequired

    User's display name.

    is_activeActive (boolean)required

    Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

    is_superuserbooleanrequired
    groups object[]required
  • Array [
  • namestringrequired
    pkstringrequired
  • ]
  • emailemail

    Possible values: <= 254 characters

    avatarstringrequired

    User's avatar, either a http/https URL or a data URI

    uidstringrequired
    settings objectrequired

    Get user settings with brand and group settings applied

    property name*any

    Get user settings with brand and group settings applied

    typeUserTypeEnum (string)

    Possible values: [internal, external, service_account, internal_service_account]

    system_permissionsstring[]required

    Get all system permissions assigned to the user

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/core/users/me/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth