Skip to main content
GET
/
api
/
users
/
{id}
/
memberships
cURL
curl --request GET \
  --url http://localhost/api/users/{id}/memberships
[
  {
    "uuid": "<string>",
    "createdOn": "2023-11-07T05:31:56Z",
    "updatedOn": "2023-11-07T05:31:56Z",
    "changeSequence": 123,
    "role": "OWNER",
    "organization": {
      "uuid": "<string>",
      "createdOn": "2023-11-07T05:31:56Z",
      "updatedOn": "2023-11-07T05:31:56Z",
      "changeSequence": 123,
      "name": "<string>",
      "slug": "<string>",
      "publicAccess": true,
      "description": "<string>",
      "organizationStatus": "ACTIVE",
      "hasImage": true,
      "defaultToPrivateTemplates": true,
      "supportAccess": true,
      "supportAccessExpiresAt": "2023-11-07T05:31:56Z",
      "stripeCustomerId": "<string>",
      "enterpriseOrganization": true,
      "id": "<string>"
    },
    "user": {
      "uuid": "<string>",
      "createdOn": "2023-11-07T05:31:56Z",
      "updatedOn": "2023-11-07T05:31:56Z",
      "changeSequence": 123,
      "email": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "bio": "<string>",
      "userStorage": {
        "favoriteLinks": [
          {
            "link": "<string>"
          }
        ]
      },
      "showDeveloperTools": true,
      "image": "<string>",
      "userHash": "<string>",
      "acceptedTerms": true,
      "userType": "HUMAN",
      "active": true,
      "fullName": "<string>",
      "externallyManaged": true,
      "hasAcceptedTerms": true,
      "id": "<string>",
      "security": {
        "roles": [
          "PLATFORM_ADMIN"
        ]
      },
      "preferences": {
        "showWelcomeMessage": true,
        "showOnboarding": true,
        "showScrollbars": true
      }
    },
    "id": "<string>"
  }
]

Path Parameters

id
string
required

Response

OK

uuid
string

The UUID of the object

createdOn
string<date-time>
updatedOn
string<date-time>
changeSequence
integer

The change sequence of the object, which can be used to track modications

role
enum<string>
Available options:
OWNER,
READ,
WRITE
organization
object
user
object

A user of the Kodexa Platform

id
string

The ID of the object

I