Skip to main content
POST
Rotate User Password

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

postgres_cluster_id
string
required

Managed Postgres Cluster ID

username
string
required

Postgres User Name

Body

application/json

Password rotation details

kill_sessions
boolean

Terminate the user's existing sessions after rotating.

Response

Rotated user credentials

data
object