Skip to main content

diagrid workflow access-policy schema

Print the OpenAPI schema for the access-policy resource type

Description

Print the OpenAPI schema for the access-policy resource type.

The schema lists every access-policy field with all references resolved inline. It is read from the spec embedded in the CLI, so no project or login is needed. Use "diagrid access-policy example" to print a ready-to-edit sample instead.

diagrid workflow access-policy schema [flags]

Examples


# Print the access-policy schema as YAML
diagrid access-policy schema

# Print the access-policy schema as JSON
diagrid access-policy schema --output json

Options

-h, --help help for schema
-o, --output string Output format, supported [yaml, json] (default "yaml")

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO