Rotate the token
Vaults
Rotate the token
Replace a vault’s stored service account token.
PUT
Rotate the token
Replaces the service account token stored for a vault config. The new token is health-checked against the provider before it is written, so a token that cannot reach
op_vault_id is rejected and the old one stays in place.
Returns 204 No Content on success.
Path parameters
The vault config’s
id (UUID).Request body
The new 1Password service account token. Write-only and never returned.
Examples
Errors
| Status | Cause |
|---|---|
404 | Vault not found or you don’t have access. |
422 | The provider rejected the new token. The stored token is unchanged. |