Hey, human!
This is what your agent sees atdocs.example.com/endpoint/updateuser
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Update a user
Updates an existing user by their numeric ID. Merges the request body into the existing user record.
What you provide
- Usernameoptional: Username
- Emailoptional: Email address
- Roleoptional: User role
Do this with AI
I want to update a user. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/updateuser.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
https://google.com/users/{id}curl --request PUT \
--url https://google.com/users/1 \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"username": "jdoe",
"email": "jdoe@example.com",
"role": "admin"
}
'Path parameters
idintegerrequiredNumeric ID of the resource
Body
application/jsonrequiredusernamestringUsername
emailstring · emailEmail address
rolestringUser role