Zum Hauptinhalt springen

Get the executing user's membership in a Project

GET/projects/{projectId}/memberships/self/
v2
GET
project-get-self-membership-for-project

Request

  • projectIdstring
    required

    ID of the Project to get the membership for.

Responses

application/json

OK

  • 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/self