Skip to content

CreateMembershipRequest

Source code in docs_src/capo_securityagent/types/create_membership_request.py
class CreateMembershipRequest(TypedDict, closed=True):
    application_id: "capo_securityagent.types.application_id.ApplicationId"
    """<p>The unique identifier of the application that contains the agent space.</p>"""
    agent_space_id: "capo_securityagent.types.agent_space_id.AgentSpaceId"
    """<p>The unique identifier of the agent space to grant access to.</p>"""
    membership_id: "capo_securityagent.types.membership_id.MembershipId"
    """<p>The unique identifier for the membership.</p>"""
    member_type: "capo_securityagent.types.membership_type.MembershipType"
    """<p>The type of member. Currently, only USER is supported.</p>"""
    config: NotRequired["capo_securityagent.types.membership_config.MembershipConfig"]
    """<p>The configuration for the membership, such as the user role.</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceId

The unique identifier of the agent space to grant access to.

application_id instance-attribute

application_id: ApplicationId

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

config instance-attribute

config: NotRequired[MembershipConfig]

The configuration for the membership, such as the user role.

member_type instance-attribute

member_type: MembershipType

The type of member. Currently, only USER is supported.

membership_id instance-attribute

membership_id: MembershipId

The unique identifier for the membership.