cURL
curl --request GET \ --url https://localhost:5000/users/blocked \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Profile updated successfully", "data": [ { "name": "<string>", "username": "<string>", "email": "jsmith@example.com", "_id": "<string>", "image": "<string>", "bio": "<string>", "gender": "<string>", "emailVerified": true, "followers": [ "<string>" ], "following": [ "<string>" ], "bookmarks": [ "<string>" ], "blocked_users": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "count": 123 }
Update user profile information
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Profile updated successfully
true
"Profile updated successfully"
Show child attributes
Number of blocked users