Use this API to update an existing authentication type.
Client application must have 'app.conversation.conversationmgr.manage' scope assigned.
Update authentication type
OAuth type authentication for callback APIs specified in Client application. Conversation Hub will generate token using this API and use it until it receives 401 from callback API
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "name": "custom_bot_callback_authentication",
- "type": "oauth2",
- "oauth2": {
- "method": "POST",
- "headers": [
- {
- "name": "Content-Type",
- "value": "application/json"
}, - {
- "name": "Accept",
- "value": "application/json"
}
], - "payload": "{ \"clientId\": \"c987cbfc-d59c-11ea-87d0-0242ac130003\",\"clientSecret\": \"c987cde6-d59c-11ea-87d0-0242ac130003\",\"refreshToken\": \"c987cee0-d59c-11ea-87d0-0242ac130003\"}",
- "accessTokenPath": "$.accessToken"
}, - "modified": "2021-03-28T14:29:01.516Z"
}
Required attribute is missing in payload
{- "code": "400-143",
- "developerMessage": "Required attribute is missing in the request body: <attribute>"
}