ByCloud Docs
GuidesCLIAPISDK

Delete role

bycloud iam roles delete --role_id <role_id> [flags]

Delete a role

Options

--role_id

stringrequired

Role ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud iam roles delete \
--role_id "abc-123"

Output

Success