ServiceCatalog / Client / delete_portfolio

delete_portfolio#

ServiceCatalog.Client.delete_portfolio(**kwargs)#

Deletes the specified portfolio.

You cannot delete a portfolio if it was shared with you or if it has associated products, users, constraints, or shared accounts.

A delegated admin is authorized to invoke this command.

See also: AWS API Documentation

Request Syntax

response = client.delete_portfolio(
    AcceptLanguage='string',
    Id='string'
)
Parameters:
  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

  • Id (string) –

    [REQUIRED]

    The portfolio identifier.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions