OBJECT

# AuthAsMutation

Mutation for operations as a specific member.

## link GraphQL Schema definition

`

- type AuthAsMutation {
- # Arguments
- # file: [Not documented]
- uploadFile(file: Upload!): File!
- # Create a new member
- #
- # Arguments
- # value: [Not documented]
- createMember(value: MemberInput!): Member
- # Update an existing member
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # memberId: [Not documented]
- # value: [Not documented]
- updateMember(memberId: Int!, value: MemberInput!): Member
- # Add a new legal representative to a member
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # memberId: [Not documented]
- # value: [Not documented]
- memberAddRepresentative(
- memberId: Int!,
- value: RepresentativeInput!
- ): Member
- # Modify an existing legal representative of a member
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # representativeId: [Not documented]
- # value: [Not documented]
- memberModifyRepresentative(
- representativeId: Int!,
- value: RepresentativeInput!
- ): Member
- # Remove an existing legal representative from a member
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # representativeId: [Not documented]
- memberRemoveRepresentative(representativeId: Int!): Member
- # Add user as a manager of the member account.
- # If the user does not exist, an invitation email is sent and the user gets
- # shadow-registered.
- #
- # Rights: only on self
- #
- # Arguments
- # memberId: [Not documented]
- # email: [Not documented]
- memberAddManager(memberId: Int!, email: String!): Member
- # Remove a user from the current member account.
- #
- # Rights: only on self
- #
- # Arguments
- # memberId: [Not documented]
- # email: [Not documented]
- memberRemoveManager(memberId: Int!, email: String!): Member
- # Add an existing role to an existing user.
- #
- # Rights: 'role.assign'
- #
- # Arguments
- # memberId: [Not documented]
- # roleId: [Not documented]
- memberAddRole(memberId: Int!, roleId: Int!): Member
- # Remove an existing role from an existing user.
- #
- # Rights: 'role.assign'
- #
- # Arguments
- # memberId: [Not documented]
- # roleId: [Not documented]
- memberRemoveRole(memberId: Int!, roleId: Int!): Member
- # Add an existing organization role to an existing user.
- #
- # Rights: 'organization-role.assign'
- #
- # Arguments
- # memberId: [Not documented]
- # roleId: [Not documented]
- memberAddOrganizationRole(memberId: Int!, roleId: Int!): Member
- # Remove an existing organization role from an existing user.
- #
- # Rights: 'organization-role.assign'
- #
- # Arguments
- # memberId: [Not documented]
- # roleId: [Not documented]
- memberRemoveOrganizationRole(
- memberId: Int!,
- roleId: Int!
- ): Member
- # Create a new membership for an existing user.
- #
- # Rights: 'member.change-membership'
- #
- # Arguments
- # memberId: [Not documented]
- # value: [Not documented]
- memberAddMembership(memberId: Int!, value: MembershipInput!): Member
- # Modify an existing membership for an existing user.
- #
- # Rights: 'member.change-membership'
- #
- # Arguments
- # membershipId: [Not documented]
- # value: [Not documented]
- memberModifyMembership(
- membershipId: Int!,
- value: MembershipInput!
- ): Member
- # Remove an existing membership from a user.
- #
- # Rights: 'member.change-membership'
- #
- # Arguments
- # membershipId: [Not documented]
- memberRemoveMembership(membershipId: Int!): Member
- # Add a certificate status to a user.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # memberId: [Not documented]
- # certificateId: [Not documented]
- # value: [Not documented]
- memberAddCertificate(
- memberId: Int!,
- certificateId: Int!,
- value: MembersToCertificatesInput!
- ): Member
- # Modify a certificate status of a user.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # relationId: [Not documented]
- # value: [Not documented]
- memberModifyCertificate(
- relationId: Int!,
- value: MembersToCertificatesInput!
- ): Member
- # Remove a certificate status from a user.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # relationId: [Not documented]
- memberRemoveCertificate(relationId: Int!): Member
- # Add a new information to a counselor account.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # memberId: [Not documented]
- # value: [Not documented]
- memberAddCounselorInfo(
- memberId: Int!,
- value: CounselorInfoInput!
- ): Member
- # Modify an existing counselor information.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # infoId: [Not documented]
- # value: [Not documented]
- memberModifyCounselorInfo(
- infoId: Int!,
- value: CounselorInfoInput!
- ): Member
- # Remove a counselor information from the member.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # infoId: [Not documented]
- memberRemoveCounselorInfo(infoId: Int!): Member
- # Request a new membership of a member.
- # There must be no currently active membership or membership request on the target
- # member.
- #
- # Rights: 'member.modify' or on self
- #
- # Arguments
- # memberId: [Not documented]
- createMembershipRequest(memberId: Int!): MembershipRequest
- # Accept the membership request and create a new membership for the target member
- # with the start of today.
- #
- # Rights: 'member.change-membership' or on self
- #
- # Arguments
- # requestId: [Not documented]
- acceptMembershipRequest(requestId: Int!): MembershipRequest
- # Decline the membership request.
- #
- # Rights: 'member.change-membership' or on self
- #
- # Arguments
- # requestId: [Not documented]
- declineMembershipRequest(requestId: Int!): MembershipRequest
- # Create a certificate template.
- #
- # Arguments
- # value: [Not documented]
- createCertificate(value: CertificateInput!): Certificate
- # Create a role for assigning rights to members.
- #
- # Rights: 'role.edit'
- #
- # Arguments
- # value: [Not documented]
- createRole(value: RoleInput!): Role
- # Modify an existing role.
- #
- # Rights: 'role.edit'
- #
- # Arguments
- # id: [Not documented]
- # value: [Not documented]
- updateRole(id: Int!, value: RoleInput!): Role
- # Delete an existing role.
- #
- # Rights: 'role.edit'
- #
- # Arguments
- # id: [Not documented]
- deleteRole(id: Int!): Boolean
- # Create a public role for presenting the structure within the organization.
- #
- # Rights: 'organization-role.edit'
- #
- # Arguments
- # value: [Not documented]
- createOrganizationRole(value: OrganizationRoleInput!): Role
- # Modify an existing organization role.
- #
- # Rights: 'organization-role.edit'
- #
- # Arguments
- # id: [Not documented]
- # value: [Not documented]
- updateOrganizationRole(
- id: Int!,
- value: OrganizationRoleInput!
- ): Role
- # Delete an existing organization role.
- #
- # Rights: 'organization-role.edit'
- #
- # Arguments
- # id: [Not documented]
- deleteOrganizationRole(id: Int!): Boolean
- # Create a new organization event.
- #
- # Rights: 'event.create'
- #
- # Arguments
- # value: [Not documented]
- createEvent(value: EventInput!): Event
- # Modify an existing event.
- #
- # Rights: on own events or 'event.modify'
- #
- # Arguments
- # eventId: [Not documented]
- # value: [Not documented]
- updateEvent(eventId: Int!, value: EventInput!): Event
- # Delete an existing event.
- #
- # Rights: on own events or 'event.modify'
- #
- # Arguments
- # eventId: [Not documented]
- deleteEvent(eventId: Int!): Boolean
- # Set an attendance to the event.
- #
- # Rights: on self 'event.attend' right or on anybody 'event.attend-anybody'
- #
- # Arguments
- # eventId: [Not documented]
- # memberId: [Not documented]
- # answer: [Not documented]
- attendEvent(eventId: Int!, memberId: Int!, answer: Answer!): Boolean
- # Create a new article.
- #
- # Rights: 'article.create'
- #
- # Arguments
- # value: [Not documented]
- createArticle(value: ArticleInput!): Article
- # Modify an existing article.
- #
- # Rights: on own articles or 'article.modify'
- #
- # Arguments
- # articleId: [Not documented]
- # value: [Not documented]
- updateArticle(articleId: Int!, value: ArticleInput!): Article
- # Delete the article.
- #
- # Rights: on own articles or 'article.modify'
- #
- # Arguments
- # articleId: [Not documented]
- deleteArticle(articleId: Int!): Boolean
- }

`

## link Require by

- AuthMutationMutation for logged users