cURL
curl --request PUT \ --url https://{tenant}/admin/users/{userId} \ --header 'Admin-Auth: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "access_key": "c8251902f3f44dfa729e0267d0d62859", "active": false, "email_address": "itachisasuke@gmail.com", "first_name": "itachi", "id": "679a02465715ecdd507d7273", "last_name": "sasuke", "org_id": "" } '
{ "Message": "c8251902f3f44dfa729e0267d0d62859", "Meta": { "access_key": "c8251902f3f44dfa729e0267d0d62859", "active": false, "api_model": {}, "created_at": "2025-03-10T11:10:52.986309+03:00", "email_address": "itachisasuke@gmail.com", "first_name": "itachi", "group_id": "", "id": "363739613032343635373135656364643530376437323733", "last_login_date": "0001-01-01T00:00:00Z", "last_name": "sasuke", "org_id": "", "password_max_days": 0, "password_updated": "0001-01-01T00:00:00Z", "user_permissions": { "IsAdmin": "admin", "ResetPassword": "admin" } }, "Status": "OK" }
Update user details with the user ID
Documentation IndexFetch the complete documentation index at: https://tyk.io/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Api key
The Id of the user you want to update
Show child attributes
User updated successfully
Was this page helpful?
Contact support