SecurityAgent / Client / delete_membership

delete_membership

SecurityAgent.Client.delete_membership(**kwargs)

Deletes a membership, revoking a user’s access to an agent space.

See also: AWS API Documentation

Request Syntax

response = client.delete_membership(
    applicationId='string',
    agentSpaceId='string',
    membershipId='string',
    memberType='USER'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The unique identifier of the application that contains the agent space.

  • agentSpaceId (string) –

    [REQUIRED]

    The unique identifier of the agent space to revoke access from.

  • membershipId (string) –

    [REQUIRED]

    The unique identifier of the membership to delete.

  • memberType (string) – The type of member to remove.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Response structure for removing a single member from an agent space.