added
New `update_users_role` mutation
November 27th, 2024
In API versions 2025-01
and later, you can update a user's role through the API using the new update_users_role
mutation!
mutation {
update_users_role (user_ids: [12345, 54321], new_role: ADMIN) {
updated_users {
name
is_admin
}
errors {
user_id
code
message
}
}
}