v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBUsers
Activate a user
🔑
Required OAuth scope: users:write.
Activates a specific user given its unique ID.
put/api/v2/users/{userId}/activate
Path parameters
userIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the user.
Headers
360-api-version'v2.0' required
The version of the API.
Response
Returns the activated 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"
}