cURL
curl -X PUT "https://app.cotool.ai/api/users/:id" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"email":"string","isVerified":true,"organizationId":"string","roleId":"string"}'
Update user fields, including group assignment
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
User ID
New email address for the user (will be normalized and validated)
Update the user verification status
Move the user to a different organization
Update the user's role assignment
Successful response
Was this page helpful?