跳转到主要内容
POST
Update Shared Group Data

授权

X-Authorization
string
header
必填

This API requires a client session ticket, available from any Client Login function.

请求体

application/json

Note that in the case of multiple calls to write to the same shared group data keys, the last write received by the PlayFab service will determine the value available to subsequent read operations. For scenarios requiring coordination of data updates, it is recommended that titles make use of user data with read permission set to public, or a combination of user data and shared group data.

Note that in the case of multiple calls to write to the same shared group data keys, the last write received by the PlayFab service will determine the value available to subsequent read operations. For scenarios requiring coordination of data updates, it is recommended that titles make use of user data with read permission set to public, or a combination of user data and shared group data.

SharedGroupId
string
必填

Unique identifier for the shared group.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Data
object

Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null.

KeysToRemove
string[]

Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly.

Permission
enum<string>

Permission to be applied to all user data keys in this request.

可用选项:
Private,
Public

响应

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
最后修改于 2026年10月6日