Preview

updateRolesForAccountMemberships is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

updateRolesForAccountMemberships

Update roles for account (company) memberships

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_CHANNEL_SUPPORT

    ROLE_CORPORATE_ADMIN

    ROLE_PARTNER

    ROLE_RESELLER

    ROLE_SALES_SUPPORT

    ROLE_SYS_ADMIN

    Arguments

    input UpdateRolesForAccountMembershipsInput! PREVIEW

    Specifies the account memberships and the roles to be updated

    UpdateRolesForAccountMembershipsInput fields

    accountId ID!

    Unique identifier of the account

    membershipRoles [UpdateAccountMembershipRolesInput!] PREVIEW

    Roles to add to or remove from users who have memberships in the company

    Return Fields

    success UpdateRolesForAccountMembershipsResponseStatus! PREVIEW

    Whether the account memberships are updated successfully

    userErrors [UpdateRolesForAccountMembershipUserError!] PREVIEW

    A list of errors that may occur during the update membership roles operation

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.