This is the multi-page printable view of this section. Click here to print.
Detach policy to Role
1 - 1.3
scpcli iam role policy binding detach
--policy_id <value>
--role_id <value>
Description
Detach policy to Role
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.3 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| policy_id required | string | Policy ID Attached to Role | - |
| role_id required | string | Role ID | - |
2 - 1.2
scpcli iam role policy binding detach
--policy_id <value>
--role_id <value>
Description
Detach policy to Role
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.2 | 20260930 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| policy_id required | string | Policy ID Attached to Role | - |
| role_id required | string | Role ID | - |
3 - 1.1
scpcli iam role policy binding detach
--policy_id <value>
--role_id <value>
Description
Detach policy to Role
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.1 | 20260531 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| policy_id required | string | Policy ID Attached to Role | - |
| role_id required | string | Role ID | - |
4 - 1.0
scpcli iam role policy binding detach
--policy_id <value>
--role_id <value>
Description
Detach policy to Role
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| policy_id required | string | Policy ID Attached to Role | - |
| role_id required | string | Role ID | - |