The Collaborator Object
An object that represents a collaborator in a space. You can assign the collaborator to a role, retrieve permissions, update their details, and more.
Learn more about roles and permissions in the Space Roles endpoint.
Properties
Section titled “Properties”-
userobjectThe user object inside a collaborator object.
Show child properties
-
idnumberNumeric ID of a user.
-
firstnamestringFirst name of a collaborator.
-
lastnamestringLast name of a collaborator.
-
alt_emailstringAlternative email of a collaborator.
-
disabledbooleanWhether the collaborator is active or not.
-
avatarstringAvatar of a collaborator (usually an image file).
-
useridstringUser ID of a collaborator.
-
friendly_namestringFriendly name of a collaborator.
-
real_emailstringEmail of a collaborator.
-
-
rolestringRole of a collaborator. Can be admin, editor, or custom roles.
-
user_idnumberNumeric ID of a user.
-
permissionsenum[]An array of strings that define the role’s permissions.
Permission Description read_storiesRead-only access to stories save_storiesEdit and save stories publish_storiesPublish stories unpublish_storiesUnpublish stories publish_foldersPublish folders (including stories contained within) unpublish_foldersUnpublish folders (including stories contained within) deploy_storiesDeploy pipeline stories delete_storiesPermanently delete stories edit_imageEdit images in the Image Editor view_composerUse the Visual Editor change_alternate_groupChange alternate content groupings (for internationalization or variants) move_storyMove stories between folders edit_story_slugEdit a story URL view_contentIf checked, hides all stories except those defined in allowed_paths(Permissions → Content → Folder/Content item permissions)view_foldersIf checked, hides all folders except those defined in allowed_paths(Permissions → Content → Folder/Content item permissions)view_draft_jsonView the draft JSONpayload of storiesview_published_jsonView the published JSONpayload of storiesmanage_tagsCreate, edit, or delete tags edit_datasourcesEdit datasources edit_datasource_keysEdit datasources keys access_commerceAccess e-commerce features (if available) manage_block_libraryCreate, move, and edit blocks and folders hide_asset_foldersIf checked, hides all assets and folders except those defined in asset_folder_ids(Permissions → Assets → Asset Folder Permissions) -
allowed_pathnumber[]An array of story IDs that the role can access. If none is selected, all stories are accessible.
-
field_permissionsstring[]An array of fields hidden from this role (based on the block schema). If none is selected, all fields are visible.
-
idnumberNumeric ID of a collaborator.
-
space_role_idnumberNumeric ID associated with a single custom role.
-
space_role_idsnumber[]An array of numeric IDs associated with each custom role assigned to a single collaborator.
-
space_idnumberNumeric ID of the collaborator’s space.
{ "collaborators": [ { "user": { "id": 262115, "firstname":" Mayve", "lastname": "Priscy", "alt_email": null, "avatar": "avatars/115866/5fgecfcb64/mayve.jpeg", "userid": "mayve@email.com", "friendly_name": "Mayve Priscy" }, "role": "Designer", "user_id": 262115, "permissions": ["edit_image"], "allowed_path": "", "field_permissions": "", "id": 236290, "space_role_id": "49708", "invitation": null, "space_role_ids": [], "space_id": 866112 } ]}Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community