# Source: https://docs.zenml.io/api-reference/oss-api/oss-api/service-accounts/rotate.md

# Rotate

{% openapi src="<https://1cf18d95-zenml.cloudinfra.zenml.io/openapi.json>" path="/api/v1/service\_accounts/{service\_account\_id}/api\_keys/{api\_key\_name\_or\_id}/rotate" method="put" %}
<https://1cf18d95-zenml.cloudinfra.zenml.io/openapi.json>
{% endopenapi %}