> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# deepline org

> List, create, and set organizations.

## org

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org [options] [command]

List, create, and set organizations.

Options:
  -h, --help                 display help for command

Commands:
  members                    List workspace members and manage their grants.
  sso                        Manage Enterprise workspace SSO.
  logo [options] [url]       Show, set, or remove the current organization's
                             logo.
  list [options]             List your organizations.
  create [options] <name>    Create a new organization and switch this CLI to
                             it.
  status [options]           Show the current organization and auth source.
  set [options] [selection]  Set the organization for the selected auth scope.
  help [command]             display help for command
```

## org members

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org members [options] [command]

List workspace members and manage their grants.

Options:
  -h, --help                                    display help for command

Commands:
  list [options]                                List one page of memberships and effective grants.
  set-grants [options] <member-id> <grants...>  Replace a member’s grants (read, run, admin). Requires admin.
  help [command]                                display help for command
```

## org members list

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org members list [options]

List one page of memberships and effective grants.

Options:
  --cursor <cursor>  Continue from the previous page
  --json             Output JSON
  -h, --help         display help for command
```

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Explanation:
  Purpose: List one page of members in the authenticated workspace.
  Input: Optional --cursor from the previous page.
  Output: members (id, userId, role, effective grants) and cursor (null at the end).
  Cost: Does not spend credits.
```

## org members set-grants

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org members set-grants [options] <member-id> <grants...>

Replace a member’s grants (read, run, admin). Requires admin.

Options:
  --json      Output JSON
  -h, --help  display help for command
```

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Explanation:
  Purpose: Replace a workspace member's grants. Requires an admin grant.
  Input: a member id from org members list, followed by one or more grants:
  read (explicitly read-only tools), run (any tool and existing Plays; cannot create or edit Plays), admin (tools and workspace management), member (existing access, including Play authoring).
  Example: deepline org members set-grants <member-id> read
  Multiple grants are additive. Run includes read; admin includes both and can create, edit, and publish Plays.
  Existing member roles retain their permissions, including Play authoring. Only owners may change ownership,
  and the last owner cannot be removed. Read-only tools may still spend credits.
  Output: ok, memberId, and the stored role.
  Cost: This command does not spend credits.
```

## org sso

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso [options] [command]

Manage Enterprise workspace SSO.

Options:
  -h, --help                display help for command

Commands:
  status [options]          Show this workspace's SSO connection and plan
                            eligibility.
  configure-oidc [options]
  configure-saml [options]
  request-token [options]   Get or renew the SSO domain verification token.
  verify [options]          Verify the SSO domain TXT record.
  test [options]            Validate the saved SSO connection configuration.
  remove [options]          Remove this workspace's SSO connection.
  help [command]            display help for command
```

## org sso status

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso status [options]

Show this workspace's SSO connection and plan eligibility.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org sso configure-oidc

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso configure-oidc [options]

Options:
  --domain <domain>            Verified email domain
  --issuer <url>               OIDC issuer URL
  --client-id <id>             OIDC client ID
  --client-secret-file <path>  File containing the client secret
  --json                       Emit JSON output
  -h, --help                   display help for command
```

## org sso configure-saml

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso configure-saml [options]

Options:
  --domain <domain>           Verified email domain
  --idp-metadata-file <path>  Identity provider metadata XML file
  --json                      Emit JSON output
  -h, --help                  display help for command
```

## org sso request-token

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso request-token [options]

Get or renew the SSO domain verification token.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org sso verify

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso verify [options]

Verify the SSO domain TXT record.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org sso test

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso test [options]

Validate the saved SSO connection configuration.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org sso remove

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org sso remove [options]

Remove this workspace's SSO connection.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org logo

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org logo [options] [url]

Show, set, or remove the current organization's logo.

Options:
  --domain <domain>  Use the logo for this company's domain
  --remove           Remove the logo
  --json             Emit JSON output
  -h, --help         display help for command
```

## org list

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org list [options]

List your organizations.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org create

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org create [options] <name>

Create a new organization and switch this CLI to it.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org status

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org status [options]

Show the current organization and auth source.

Options:
  --json      Emit JSON output
  -h, --help  display help for command
```

## org set

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Usage: deepline org set [options] [selection]

Set the organization for the selected auth scope.

Options:
  --org-id <id>         Set using an explicit organization id
  --auth-scope <scope>  Where to save auth: auto, folder, or global (default:
                        "auto")
  --json                Emit JSON output
  -h, --help            display help for command
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.