Skip to main content

UpdateCollectionRoles

Properties

NameTypeRequiredDescription
rolesUpdateCollectionRolesRoles[]

UpdateCollectionRolesRoles

Properties

NameTypeRequiredDescription
opRolesOpThe operation to perform on the path.
pathRolesPath1The resource to perform the action on.
valueRolesValue1[]

RolesOp

The operation to perform on the path.

Properties

NameTypeRequiredDescription
UPDATEstring"update"

RolesPath1

The resource to perform the action on.

Properties

NameTypeRequiredDescription
_USERstring"/user"
_GROUPstring"/group"
_TEAMstring"/team"

RolesValue1

Information about the updated role.

Properties

NameTypeRequiredDescription
idnumberThe user, group, or team's ID.
roleValueRole1The role type: - VIEWER — Can view, fork, and export collections. - EDITOR — Can edit collections directly.

ValueRole1

The role type: - VIEWER — Can view, fork, and export collections. - EDITOR — Can edit collections directly.

Properties

NameTypeRequiredDescription
VIEWERstring"VIEWER"
EDITORstring"EDITOR"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →