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-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

OK

  • Array[
  • *object
    • emailstring (email)
      required

      Email used by the invited user.

    • expiresAtstring (date-time)

      Time the ProjectMembership should expire at.

    • 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.

    • 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