Updating the Mapping Between a User (Group) and an IAM Agency
Function
This API is used to update the mapping between a user or user group and an IAM agency.
URI
- URI format
- Parameters
Table 1 Parameters Parameter
Mandatory
Description
project_id
Yes
Project ID. For details on how to obtain the project ID, see Obtaining a Project ID.
cluster_id
Yes
Cluster ID.
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| agency_mappings | Yes | Array | For details about the mapping between users or user groups and agencies, see Table 3. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| agency | Yes | String | Specifies the name of the IAM agency bound to the mapping. |
| identifier_type | Yes | String | Agency type, which can be User or Group.
|
| identifiers | Yes | Array of String | Indicates the list of users or user groups mapped to the IAM agency. |
| agency_id | Yes | String | Unique identifier of the agency bound to the mapping. For details about how to obtain the agency_id of the agency to be updated, see Querying the Mapping Between a User (Group) and an IAM Agency. |
Response message.
| Parameter | Type | Description |
|---|---|---|
| result | String | Operation result.
|
Status Code
Table 5 describes the status code of this API.
Last Article: Querying the Mapping Between a User (Group) and an IAM Agency
Next Article: API V1.1
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.