Zum Hauptinhalt springen

Get profile information for the specified user if the user is related to the executing user

GET/user/{userId}/
v2
GET
deprecated-user-service-user-get

Request

  • userIdstring
    required

Responses

application/json

The Profile

  • avatarRefstring (uuid)
  • customerMembershipsobject
    • *object
      • expiresAtstring (date-time)
      • memberSincestring (date-time)
        required
      • rolestring (one of: owner, member, accountant)
        required
  • emailstring (email)
  • employeeInformationobject

    Additional information about mittwald employees.

    • departmentstring
      required
  • isEmployeeboolean

    Truth value, whether the user is a mittwald employee

  • mfaobject
    • activeboolean
      required
    • setupboolean
      required
  • passwordUpdatedAtstring (date-time)
  • personobject
    required

    The users personal information, e.g. first name.

    • firstNamestring
      required

      The users first name

    • lastNamestring
      required

      The users last name

    • titlestring (one of: mr, ms, other)
  • phoneNumberstring
  • projectMembershipsobject
    • *object
      • expiresAtstring (date-time)
      • inheritedboolean
        required
      • memberSincestring (date-time)
        required
      • rolestring (one of: owner, emailadmin, external)
        required
  • registeredAtstring (date-time)
  • userIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/user/string