Skip to content

enumeray access block

Block one account’s model run access at an observed generation.

Use when: An account must be denied even when the model’s broader policy would allow it.

Role and prerequisites: Model owner or current co-admin. Install enumeray, configure the API and log in. Use an account or delegated token with the required permissions. Example IDs must be replaced with IDs from your service.

Terminal window
enumeray access policy scalar-double
enumeray access block scalar-double 11111111-1111-4111-8111-111111111111 --generation 1

Resource names and UUIDs below are examples. Replace them with IDs returned by your service; --generation 1 is valid only if the latest response reports generation 1.

Input Meaning and use
<MODEL> Stable model ID from model list/get or supplied by the author. An unlisted model can be addressed by ID, but still requires access.
<USER> Stable UUID of the account to block or unblock, obtained from the service administrator or the account’s auth whoami response.
--generation <GENERATION> Observed resource generation from the relevant get, members, policy or limits response. This is an optimistic concurrency check, not a release number. Read again after a conflict; do not blindly increment it.

Every command also accepts the profile, API, JSON and timeout options.

Records a per-user block for future authorization without deleting accepted run history.

Inspect policy/audit and review whether service-wide suspension is also needed.

Exact syntax, defaults and accepted values
Block one account's model access at the observed model generation
Usage: enumeray access block [OPTIONS] --generation <GENERATION> <MODEL> <USER>
Arguments:
<MODEL> Stable model ID from model list/get or supplied by its author
<USER> Stable UUID of the target account; use auth whoami to find your own ID
Options:
--api <API> User API origin override; credentials never cross origins. Host/runner commands use explicit configuration
--generation <GENERATION> Observed model generation from model get/access policy; shared by access and governance changes
--profile <PROFILE> Named local user API/login profile; host/runner commands use explicit configuration [default: default]
--config <CONFIG> Private user profiles file; defaults to $XDG_CONFIG_HOME/enumeray/profiles.json or ~/.config/enumeray/profiles.json
--json Emit user API results as JSON (NDJSON for following logs) and runtime errors on stderr; host/runner output follows its own protocol
--timeout <TIMEOUT> User API HTTP timeout in seconds; live logs use it for read inactivity. Does not limit execution time [default: 60]
-h, --help Print help

Documentation 205dcb3116ea · public sources 8c70356d340f · built .Download documentation identity.