Set the auth mode
twin_set_authConfigure whether the twin accepts any bearer token or only unexpired OAuth tokens; returns the active auth mode without modifying records.
Instructions
How the vendor APIs treat bearer tokens: "any-token" accepts anything; "oauth" accepts only unexpired tokens from the twin's OAuth endpoints. Changes no records. Answers with the mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The new auth mode |