Preview

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

updateRolesForAccountMembership

Update roles for an account (company) membership

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 UpdateRolesForAccountMembershipInput! PREVIEW

    Specifies the account membership and the roles to be updated

    UpdateRolesForAccountMembershipInput fields

    accountId ID!

    Unique identifier of the account

    userId ID!

    Unique identifier of the user

    roles [AccountMembershipRole!]

    Roles to update for this membership

    Return Fields

    accountMembership AccountMembership PREVIEW
    userErrors [UpdateRolesForAccountMembershipUserError!] PREVIEW

    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.