Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

disassociate_membership

disassociate_membership(**kwargs)

Removes the member account from the specified behavior graph. This operation can only be called by an invited member account that has the ENABLED status.

DisassociateMembership cannot be called by an organization account in the organization behavior graph. For the organization behavior graph, the Detective administrator account determines which organization accounts to enable or disable as member accounts.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_membership(
    GraphArn='string'
)
Parameters
GraphArn (string) --

[REQUIRED]

The ARN of the behavior graph to remove the member account from.

The member account's member status in the behavior graph must be ENABLED .

Returns
None

Exceptions

  • Detective.Client.exceptions.AccessDeniedException
  • Detective.Client.exceptions.ConflictException
  • Detective.Client.exceptions.InternalServerException
  • Detective.Client.exceptions.ResourceNotFoundException
  • Detective.Client.exceptions.ValidationException