Skip to main content
POST
Rotate branch credentials

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowImplicit
Authorization URL
https://auth.xata.io/realms/xata/protocol/openid-connect/auth
Scopes1
credentials:write
Rotate credentials

Path Parameters

organizationID
string
required
Pattern: [a-zA-Z0-9_-~:]+
projectID
string
required
branchID
string
required

Body

application/json

Request to rotate credentials for a branch database user

username
string
required

Database username to rotate credentials for

Response

Credential rotation initiated successfully