users
Update user settings.
This endpoint allows users to update their email address and publish notifications settings.
The id parameter needs to match the ID of the currently authenticated user.
put/api/v1/users/{user}
Request
- Base URL: https://crates.io
- URL: https://crates.io/api/v1/users/{user}
- Auth: one of:
- API key in header authorization
- API key in cookie cargo_session
Path parameters
userinteger required
ID of the user
Request body
Response
Successful Response
Example response
{
"ok": true
}Changes
No recorded changes to this operation across all 1 revision of this API.