curl --request PUT \
--url https://platform.kodexa.ai/api/memberships/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"role": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"user": "aSDinaTvuI8gbWludGxpZnk=",
"userId": "<string>",
"uuid": "<string>"
}
'{
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"role": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"user": "aSDinaTvuI8gbWludGxpZnk=",
"userId": "<string>",
"uuid": "<string>"
}Updates an existing Membership. Memberships link users to organizations with specific roles.
curl --request PUT \
--url https://platform.kodexa.ai/api/memberships/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"role": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"user": "aSDinaTvuI8gbWludGxpZnk=",
"userId": "<string>",
"uuid": "<string>"
}
'{
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"role": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"user": "aSDinaTvuI8gbWludGxpZnk=",
"userId": "<string>",
"uuid": "<string>"
}API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Unique identifier (UUID) of the resource.
A membership links a user to an organization with a specific role (owner, admin, member, viewer).
Optimistic locking version number.
Timestamp when the membership was created.
Unique identifier (UUID) for the membership.
Show child attributes
Timestamp when the membership was last updated.
Secondary UUID identifier.
Updated Membership
A membership links a user to an organization with a specific role (owner, admin, member, viewer).
Optimistic locking version number.
Timestamp when the membership was created.
Unique identifier (UUID) for the membership.
Show child attributes
Timestamp when the membership was last updated.
Secondary UUID identifier.