All Products
Search
Document Center

Service Catalog:DisassociatePrincipalFromPortfolio

Last Updated:Mar 03, 2024

Revokes the permissions to access a product portfolio.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PortfolioIdstringYes

The ID of the product portfolio.

port-bp1yt7582g****
PrincipalTypestringYes

The type of the Resource Access Management (RAM) entity. Valid values:

  • RamUser: a RAM user
  • RamRole: a RAM role
RamUser
PrincipalIdstringYes

The ID of the RAM entity.

For more information about how to obtain the ID of a RAM user, see GetUser .

For more information about how to obtain the ID of a RAM role, see GetRole .

24477111603637****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF"
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.