2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: organizations roles create
|
|
|
|
|
description: Create a new organization custom role
|
|
|
|
|
---
|
|
|
|
|
|
2025-04-04 14:04:20 -04:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Create a new organization custom role
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder organizations roles create [flags] <role_name>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
- Run with an input.json file:
|
|
|
|
|
|
2025-12-22 11:24:00 +11:00
|
|
|
$ coder organization -O <organization_name> roles create --stdin < role.json
|
2025-04-04 14:04:20 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### -y, --yes
|
|
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|------|-------------------|
|
|
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
2026-01-16 18:04:57 -08:00
|
|
|
Bypass confirmation prompts.
|
2025-04-04 14:04:20 -04:00
|
|
|
|
|
|
|
|
### --dry-run
|
|
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|------|-------------------|
|
|
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
|
|
|
|
Does all the work, but does not submit the final updated role.
|
|
|
|
|
|
|
|
|
|
### --stdin
|
|
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|------|-------------------|
|
|
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
|
|
|
|
Reads stdin for the json role definition to upload.
|