Skip to main content
PUT
Update Saved Password
Updates an existing saved password. Users can only update their own passwords.

Endpoint

Authentication

string
required
Bearer token for authentication. User must be logged in.

Path Parameters

integer
required
The unique identifier (primary key) of the saved password to update.

Request Body

All fields are optional. Only include the fields you want to update (partial update).
string
The updated password (max 200 characters).
string
The updated URL (max 200 characters).
string
The updated friendly name (max 200 characters).

Request Example

Response

Success Response

200 OK

Error Responses

Authorization

Users can only update passwords they own. The endpoint automatically filters by the authenticated user, ensuring users cannot update other users’ passwords.

Example Request

Implementation Details

This endpoint is implemented in views.py:90 using the update_saved_password view function. It supports partial updates through the partial=True parameter in the serializer, meaning you only need to send the fields you want to update.