# Rotate a workload's credential

Replaces the secret without replacing the workload. The id, scopes, kind, delegator and expiry are all unchanged, because rotation replaces a secret and never…

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/workloads/rotate-a-workloads-credential
