> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# サービスユーザーのAPIキーをローテーション

> サービスユーザーのAPIキーをローテーションします。

新しいキーを作成します。デフォルトでは古いキーは失効されますが、両方のキーを一時的にアクティブなままにして段階的に切り替えるには、revoke_current=false
を設定します。
キーが見つからない場合は404を返し、キーがアクティブでない場合は400を返します。

<div id="permissions">
  ## 権限
</div>

Enterprise レベルの `ManageAccountServiceUsers` 権限を持つサービスユーザーが必要です。
