Goldmine
Accounts

Get Memberships

POST
/accounts.v1.Accounts/GetMemberships

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/accounts.v1.Accounts/GetMemberships" \  -H "Content-Type: application/json" \  -d '{}'
{
  "memberships": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "id": "string",
      "policies": [
        "string"
      ],
      "role": "MEMBERSHIP_ROLE_UNSPECIFIED",
      "status": "MEMBERSHIP_STATUS_UNSPECIFIED",
      "updatedAt": "2019-08-24T14:15:22Z",
      "userId": "string",
      "workspaceId": "string"
    }
  ],
  "notFoundIds": [
    "string"
  ]
}
Empty