Invite collaborators to a project
https://lytics-api.contentstack.com/projects/{id}/collaboratorsInvites one or more users by email and assigns the given roles.
{
"userEmails": [
"[email protected]"
],
"roles": [
"marketer"
],
"invitationMessage": "string"
}Invited collaborators
List collaborators for a project
https://lytics-api.contentstack.com/projects/{id}/collaboratorsundefined
Project collaborators
Add the signed-in user to a project without sending an invitation
https://lytics-api.contentstack.com/projects/{id}/collaborators/joinundefined
Current user added to the project
Remove a collaborator from a project
https://lytics-api.contentstack.com/projects/{id}/collaborators/{userUid}undefined
Collaborator removed
Update a collaborator's roles
https://lytics-api.contentstack.com/projects/{id}/collaborators/{userUid}undefined
{
"roles": [
"marketer"
]
}Updated collaborator
Set a user's Lytics access across the organization
https://lytics-api.contentstack.com/organization/collaboratorsProvisions the user in every named project's CDP account with the given roles. The assignment list is the complete desired state: a project left out is revoked, and an empty list revokes all Lytics access. Contentstack collaborations are not touched; the caller has already created them.
{
"userUid": "blt3f2a1c9e7d5b4a80",
"email": "[email protected]",
"assignments": [
{
"projectUid": "507f1f77bcf86cd799439011",
"roles": [
"admin"
]
}
],
"orgAdmin": true
}Access synchronised
Read a user's Lytics roles across the organization
https://lytics-api.contentstack.com/organization/collaborators/{userUid}Returns the user's Lytics account roles on every active project in the organization, as the CDP holds them. A project where the user holds no role is left out. Org-level read access is enough; the caller need not collaborate on the projects.
The user's roles per project