Associates a portfolio with a RAM identity.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
PortfolioId | string | Yes | The portfolio ID. | port-bp1yt7582g**** |
PrincipalType | string | Yes | The type of the RAM identity. Valid values:
| RamUser |
PrincipalId | string | Yes | The ID of the RAM identity. For information about how to obtain the ID of a RAM user, see GetUser. For information about how to obtain the ID of a RAM role, see GetRole. | 24477111603637**** |
Response elements
Parameter | Type | Description | Example |
object | The response parameters. | ||
RequestId | string | The request ID. | 0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF"
}Error codes
HTTP status code | Error code | Error message | Description |
500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.