跳轉到主要內容
POST
Link PSN Id

授權

X-SecretKey
string
header
必填

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

主體

application/json
PlayFabId
string
必填

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

PSNUserId
string
必填

Id of the PlayStation™ Network user. Also known as the PSN Account Id.

CustomTags
object

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

If another user is already linked to the account, unlink the other user and re-link.

IssuerId
number

Id of the PlayStation™ Network issuer environment. If null, defaults to the production environment. This must match the issuer the account signs in under, otherwise the link will not be resolved by that sign in.

SandboxId
string

The PlayStation™ Network sandbox to key the link under. Sandbox membership is per account, not per title: supply this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in.

回應

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日