Smenso icon

Smenso

Interact with the smenso project management API

Permissions → Set Task Privacy

AI-generated

Summary

Set a task as private and manage user and team access permissions for that task.

Inputs

  • Task ID (required) — The GUID of the task whose privacy settings are to be modified.
  • Add Access: Users (comma-separated emails/IDs) — Comma-separated list of user emails or IDs to grant access to the task.
  • Add Access: Teams (comma-separated names/IDs) — Comma-separated list of team names or IDs to grant access to the task.
  • Remove Access: Users (comma-separated) — Comma-separated list of user emails or IDs to revoke access from the task.
  • Remove Access: Teams (comma-separated) — Comma-separated list of team names or IDs to revoke access from the task.

Output shape

a JSON object with the updated task privacy settings or confirmation of the update

The operation makes a POST request to the smenso API endpoint for setting task privacy, passing the lists of users and teams to add or remove access. Results are returned as JSON. Errors are thrown if the operation fails.

Links

Discussion