# Update channel auth Updates or rotates the authentication credentials for an existing channel without changing other settings. Request: channelId - ID of the channel whose credentials are being updated. authDetails - New credentials (OAuth code, API key, basic auth, or service credentials). Credentials are encrypted before storage. Response: (empty) Endpoint: POST /api/v1/channel/update-auth Version: 3.0 Security: bearerAuth ## Request fields (application/json): - `channelId` (string) Rule data fields - `authDetails` (object) - `authDetails.auth` (integer) Enum: 0, 1, 2, 3, 4 - `authDetails.oauthCode` (string) Rule data fields - `authDetails.apiKey` (string) Rule data fields - `authDetails.basicAuth` (object) - `authDetails.basicAuth.username` (string) Rule data fields - `authDetails.basicAuth.password` (string) Rule data fields - `authDetails.serviceCredentials` (any) ## Response 400 fields (application/json): - `message` (string) ## Response 401 fields (application/json): - `message` (string) ## Response 403 fields (application/json): - `message` (string) ## Response 404 fields (application/json): - `message` (string) ## Response 409 fields (application/json): - `message` (string) ## Response 429 fields (application/json): - `message` (string) ## Response 499 fields (application/json): - `message` (string) ## Response 500 fields (application/json): - `message` (string) ## Response 501 fields (application/json): - `message` (string) ## Response 503 fields (application/json): - `message` (string) ## Response 504 fields (application/json): - `message` (string)