Skip to content

Conversation

@piki
Copy link
Contributor

@piki piki commented Nov 17, 2025

This adds two new wrappers:

  • client.PostgresRoles.ResetPassword
  • client.PostgresRoles.ReassignObjects

The implement two new API endpoints

  • /v1/organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reset
  • /v1/organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reassign

ResetPassword resets a role's password, returning a PostgresRole object containing the new password. ReassignObjects reassigns all objects owned by a role to another, successor role; it returns nothing.

@piki piki requested a review from a team as a code owner November 17, 2025 22:35
@piki piki merged commit 7f898ba into main Nov 17, 2025
4 checks passed
@piki piki deleted the piki/reassign-objects branch November 17, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants