## NAME

gdcloud iam roles delete - Delete a custom role.

## SYNOPSIS

```text
gdcloud iam roles delete ROLE_NAME [--project=PROJECT] [flags]
```

## DESCRIPTION

This command deletes a custom role at project scope, If the --project flag is provided, otherwise, it deletes a custom role at an organization-scope.

### EXAMPLES

```text

To delete a custom role at organization scope, run:

    gdcloud iam roles delete org-role

To delete a custom role at project scope, run:

    gdcloud iam roles delete project-role --project my-project
```

### GDCLOUD WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.