Smenso icon

Smenso

Interact with the smenso project management API

Permissions → Set Project Privacy

AI-generated

Summary

Set or update the privacy settings of a specific project by adding or removing private access for users and teams, controlling who can view the project privately.

Inputs

  • Project ID (required) — The unique identifier (GUID) of the project to update privacy settings for.
  • Add Access: Users (comma-separated emails/IDs) — Comma-separated list of user emails or IDs to grant private access to the project.
  • Add Access: Teams (comma-separated names/IDs) — Comma-separated list of team names or IDs to grant private access to the project.
  • Remove Access: Users (comma-separated) — Comma-separated list of user emails or IDs to remove from private access of the project.
  • Remove Access: Teams (comma-separated) — Comma-separated list of team names or IDs to remove from private access of the project.

Output shape

a JSON object reflecting the result of the privacy update operation.

The operation returns the API response from the Smenso backend confirming the changes in project privacy settings. Errors are thrown if the operation type is incorrect or parameters are invalid.

Examples

Example 1: Grant private access to specific users and teams for a project

Set Resource to 'Permissions', Operation to 'Set Project Privacy', specify the Project ID, and provide comma-separated user emails/IDs and team names/IDs to add access.

Links

Discussion