Skip to main content

UserAvatarDelete Object

Deletes a user avatar. Only for staff members.

Requires AUTHENTICATED_STAFF_USERpermission.
type UserAvatarDelete {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

UserAvatarDelete.user ● User object users

An updated user instance.

UserAvatarDelete.accountErrors ● [AccountError!]! deprecated non-null object users

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

UserAvatarDelete.errors ● [AccountError!]! non-null object users

Returned By

userAvatarDelete mutation