Change password encrypted library


it is possibile change password of a encrypted library?

You are able to do it in Seahub - web interface

with api?

Yes, it actualy not in documentation. Please we are not your slave and I feel some arogancy from your questions and reactions so don’t just throw simple question and take your time to describe what you want, try to find out if there is no solution on forum or in manual(this is no the case).

So I did reverse ingeneering from Seahub and find out that is posible by http PUT request.

Change password


Request parameters

  • old_password
  • new_password

Sample request

curl -X PUT -d "old_password=<old-library-password>&new_password=<new-library-password>" -H 'Authorization: Token 0485aefe45448afcb3b5f7c630d19f1a41179b09'<repo-id>/set-password/

Sample response


@daniel.pan May this should be in DOC. I did some PR on WebApi documentation but it’s not still merged so I’m not going to do it cause waste of time for me.

1 Like