v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBUsers
Pseudonymize user
🔑
Required OAuth scope: users:write.
Removes all personal information from a previously deleted user. The first name, last name, email, and username are replaced with random, irreversible alphanumeric strings. Custom field values are deleted permanently. The user ID remains unchanged, so this is not full GDPR anonymization. If 'deleteExternalIds' is set to true, the user's external identifiers are deleted.
put/api/v2/users/{userId}/pseudonymize
Path parameters
userIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the user.
Query parameters
deleteExternalIds'true' | 'false'
If true, user's external identifiers (identifier mappings for third-party platforms) are deleted. If false (or not provided), they are kept.
Headers
360-api-version'v2.0' required
The version of the API.
Response
Returns the pseudonymized user.
Example response
{
"_id": "507f1f77bcf86cd799439011",
"mail": "john.smith@yopmail.com",
"username": "johnsmith",
"firstName": "John",
"lastName": "Smith",
"job": "Engineer",
"organization": "360Learning",
"phone": "+33123456789",
"custom": "Half-time worker",
"primaryGroupId": "507f1f77bcf86cd799439011",
"profileImageId": "507f1f77bcf86cd799439011"
}