JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.auth.set({
...
})true{
"data": "<unknown>",
"errors": [
{}
],
"success": false
}API Reference
Set auth credentials
Set authentication credentials
PUT
/
auth
/
{providerID}
JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.auth.set({
...
})true{
"data": "<unknown>",
"errors": [
{}
],
"success": false
}Path Parameters
Body
application/json
Response
Successfully set authentication credentials
The response is of type boolean.