Zum Hauptinhalt springen

List ProjectMemberships belonging to the executing user

GET/project-memberships/
v2
GET
project-list-project-memberships

Request

Responses

Response-Header

  • X-Pagination-Limitinteger
  • X-Pagination-Pageinteger
  • X-Pagination-Skipinteger
  • X-Pagination-TotalCountinteger
application/json

OK

  • Array[
    • *object
      • avatarRefstring (uuid)

        Avatar file reference id of the user.

      • emailstring (email)
        required

        Email used by the invited user.

      • expiresAtstring (date-time)

        Time the ProjectMembership should expire at.

      • firstNamestring
        required

        First name of the user.

      • idstring (uuid)
        required

        ID of the ProjectMembership.

      • inheritedboolean
        required

        Whether the ProjectMembership was inherited from a CustomerMembership.

      • inviteIdstring (uuid)

        ID of the ProjectInvite the membership was created from.

      • lastNamestring
        required

        Last name of the user.

      • memberSincestring (date-time)

        Date the projectMembership was created at.

      • mfaboolean
        required

        MFA activated by the user.

      • projectIdstring (uuid)
        required

        ID of the Project the membership is for.

      • rolestring (one of: notset, owner, emailadmin, external)
        required
      • userIdstring (uuid)
        required

        ID of the user the ProjectMembership is for.

    ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/project-memberships?limit=50&page=1&hasExpiry=true&isInherited=true&role=notset