Zum Hauptinhalt springen

List Memberships belonging to a Project

GET/projects/{projectId}/memberships/
v2
GET
project-list-memberships-for-project

Request

  • projectIdstring
    required

    ID of the Project to list memberships for.

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/projects/string/memberships?limit=50