Skip to content

ocloud grant

ocloud v3.17.3View Markdown

Generated from ocloud 3.17.3. All ocloud commands · Olef Cloud overview · olef commands

Give, change, or remove a grant on an inbox, project, workspace, or host pool

Global options (--org, --project-root, --quiet, --redact) apply across commands; see the ocloud command catalog.

Give, change or remove one grant on an inbox, project, workspace or host pool

Terminal window
ocloud grant --help
Argument Description
<resource> Required. What to grant on: inbox, project or workspace
<id> Required. The inbox’s address or id, the project’s id or slug, or the workspace’s id
<principal> Required. Who: user:<id|email> (or a bare email), team:<id|slug>, agent:<id>, org_members or anyone (the last two on inboxes)
--role The role: admin, developer or viewer on a project; collaborator or watcher on a workspace
--perms Inbox permissions, comma-separated: discover, write, read, consume, approve, manage
--secrets An agent’s project secrets by name, comma-separated (empty removes them)
--expires-at When an inbox grant ends (RFC 3339, like 2026-12-01T00:00:00Z)
--rm Remove the grant instead