outline icon

outline

Interact with outline API

Actions107

Collections → Collections Add Group

AI-generated

Summary

Adds a group to an Outline collection with specified access permissions.

Inputs

  • id (required) — The ID of the collection to which the group will be added.
  • groupId (required) — The ID of the group being added to the collection.
  • permission — The permission level granted to the group. Options are 'read' or 'read_write'. Defaults to 'read'.
  • requestOptions — HTTP request settings including batching, proxy, timeout, and certificate validation options.

Output shape

a JSON object

Returns the API response indicating the outcome of assigning the group to the collection.

Examples

Example 1: Grant read access for a collection to a team group

Id: "col_12345", Group Id: "grp_67890", Permission: "read"

Example 2: Grant read-write access for a collection to an admin group

Id: "col_12345", Group Id: "grp_99999", Permission: "read_write"

Links

Discussion