Disable Cross Progression
POST/users/v1/cross-progression/disable
Disable Cross Progression for a person. While cross progression is disabled, all linked users who login will receive a token for the player associated with their platform user.
The person is found using the following priority:
- If the
person_idis provided directly - If the
platformandplatform_user_idare provided, theperson_idof that platform user is used. - If the Authorization header contains a user token, the platform and platform user id from the token are used and the person associated with that user is used.
If you are modifying a user outside of your person, Required Permissions:
- For any user (including themselves) any of:
user:*,user:modify:any
NOTE: Whenever you change the link or cross progression status of a user, it is recommended to refresh their access token. Each token does container user information, which may be incorrect after a link or cross progression change. There is no guarantee that calling other endpoints will operate on the correct user until the token has been refreshed.
Request
- application/json
Body
Person ID
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
Platform ID
Possible values: <= 2048 characters
Platform User ID
Responses
- 200
- 400
- 403
- 422
Successful Response
Request inputs are not valid
Error Codes:
-
account_not_found- User Account not found -
cannot_modify_person- You have insufficient permissions to modify this person -
invalid_token_claims- Token has missing/invalid claims. Are you using a non-user token on a user endpoint? -
not_cross_progression_player- Player is not the cross progression player
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Error Codes:
-
auth_invalid_key_id- Invalid Authorization - Invalid Key ID in Access Token -
auth_invalid_version- Invalid Authorization - version -
auth_malformed_access- Invalid Authorization - malformed access token -
auth_not_jwt- Invalid Authorization -
auth_token_expired- Token is expired -
auth_token_format- Invalid Authorization - {} -
auth_token_invalid_claim- Token contained invalid claim value: {} -
auth_token_invalid_type- Invalid Authorization - Invalid Token Type -
auth_token_sig_invalid- Token Signature is invalid -
auth_token_unknown- Failed to parse token -
insufficient_permissions- Insufficient Permissions
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}