Skip to content

Disassociate Membership

detective_disassociate_membership R Documentation

Removes the member account from the specified behavior graph

Description

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.

disassociate_membership 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.

Usage

detective_disassociate_membership(GraphArn)

Arguments

GraphArn

[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.

Value

An empty list.

Request syntax

svc$disassociate_membership(
  GraphArn = "string"
)