outline icon

outline

Interact with outline API

Actions107

Collections → Collections Add User

AI-generated

Summary

Add a user to a specified Outline collection with assigned access permissions.

Inputs

  • id (required) — Identifier for the target collection.
  • userId (required) — Identifier for the user being added to the collection.
  • permission — Permission level assigned to the user ('read' or 'read_write'). Defaults to 'read'.
  • requestOptions — Additional HTTP request options, such as SSL certificate validation, proxy, timeout, and batching settings.

Output shape

a single JSON object

Returns the response payload from the Outline API confirming the added user assignment.

Examples

Example 1: Add a user to a collection with read-write access

Set Id to the collection ID, User Id to the target user ID, and Permission to 'Read Write'.

Example 2: Add a user with default read permissions

Set Id to the collection ID and User Id to the target user ID.

Links

Discussion