> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAccountManagementServerUpdateAvatarUrlRequest

> PFAccountManagementServerUpdateAvatarUrlRequest data model.

PFAccountManagementServerUpdateAvatarUrlRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementServerUpdateAvatarUrlRequest {  
    const char* imageUrl;  
    const char* playFabId;  
} PFAccountManagementServerUpdateAvatarUrlRequest;  
```

### Members

**`imageUrl`**   const char\*\
*is null-terminated*

URL of the avatar image. If empty, it removes the existing avatar URL.

**`playFabId`**   const char\*\
*is null-terminated*

Unique PlayFab assigned ID of the user on whom the operation will be performed.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

- [PFAccountManagementServerUpdateAvatarUrlAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverupdateavatarurlasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementClientUpdateAvatarUrlRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientupdateavatarurlrequest.md)
- [PFAccountManagementClientUpdateAvatarUrlAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientupdateavatarurlasync.md)
- [Update Avatar Url](https://docs.xbox.com/api-reference/account-management/update-avatar-url.md)
