UpdateCollectionRoles
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| roles | UpdateCollectionRolesRoles[] | ✅ |
UpdateCollectionRolesRoles
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| op | RolesOp | ✅ | The operation to perform on the path. |
| path | RolesPath1 | ✅ | The resource to perform the action on. |
| value | RolesValue1[] | ✅ |
RolesOp
The operation to perform on the path.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| UPDATE | string | ✅ | "update" |
RolesPath1
The resource to perform the action on.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| _USER | string | ✅ | "/user" |
| _GROUP | string | ✅ | "/group" |
| _TEAM | string | ✅ | "/team" |
RolesValue1
Information about the updated role.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | number | ✅ | The user, group, or team's ID. |
| role | ValueRole1 | ✅ | The 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
| Name | Type | Required | Description |
|---|---|---|---|
| VIEWER | string | ✅ | "VIEWER" |
| EDITOR | string | ✅ | "EDITOR" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs