# Rotate a repository credential's secret

In place, so everything referring to the credential follows the new value. The host cannot be changed here.

This endpoint is described in full, with every parameter and response, in the OpenAPI description: https://docs.trustivan.com/openapi.yaml

Page: https://docs.trustivan.com/api-reference/git-credentials/rotate-a-repository-credentials-secret
