Create Platform User By Id
POST /users/v1/platform-user
Create a new platform user from a platform identity.
WARNING: This endpoint does not validate that the provided user ID is valid, and should only be used after validating a user’s identity.
Required Permissions:
- For any player (including themselves) any of:
user:*
,user:platform:create
Authorizations
Request Body required
Request parameters to create a user exists
object
Platform to create with
Platform user ID to create with
Display name used when creating a new player
Responses
201
Platform user was created successfully
Response for successfully creating a platform user
object
Platform to search/create with
Platform user ID to search/create with
Platform Display name
Player ID DEPRECATED use player_uuid
instead
Player UUID
Person ID
DEPRECATED use active_player_uuid
instead. Active player ID, if the player has an active player.
Active player UUID, if the player has an active player.
403
Error Codes:
auth_invalid_key_id
- Invalid Authorization - Invalid Key ID in Access Tokenauth_invalid_version
- Invalid Authorization - versionauth_malformed_access
- Invalid Authorization - malformed access tokenauth_not_jwt
- Invalid Authorizationauth_token_expired
- Token is expiredauth_token_format
- Invalid Authorization - {}auth_token_invalid_claim
- Token contained invalid claim value: {}auth_token_sig_invalid
- Token Signature is invalidauth_token_unknown
- Failed to parse tokeninsufficient_permissions
- Insufficient Permissions
object
409
Failed to create platform user. See error code and description for further details.
Error Codes:
user_already_exists
- User already exists
object
422
Validation Error