> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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\*<br />*is null-terminated*

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

**`playFabId`**   const char\*<br />*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](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementServerUpdateAvatarUrlAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverupdateavatarurlasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementClientUpdateAvatarUrlRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientupdateavatarurlrequest.md)
- [PFAccountManagementClientUpdateAvatarUrlAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientupdateavatarurlasync.md)
- [avatar_url_updated](/services/playfab/api-references/events/PlayerProfile/avatar-url-updated.md)
