Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1 KB

organizations_roles_create.md

File metadata and controls

55 lines (38 loc) · 1 KB
title organizations roles create
description Create a new organization custom role
product Coder
section reference
source_url https://coder.com/docs/reference/cli/organizations_roles_create
fetched 2026-09-26
tags
coder
reference

Create a new organization custom role

Usage

coder organizations roles create [flags] <role_name>

Description

  - Run with an input.json file:

     $ coder organization -O <organization_name> roles create --stdin < role.json

Options

-y, --yes

Type bool

Bypass confirmation prompts.

--dry-run

Type bool

Does all the work, but does not submit the final updated role.

--stdin

Type bool

Reads stdin for the json role definition to upload.