Knowledge Base
Restore several deleted records
Changed onRestore up to 100 records from the trash. Each id is restored as POST /knowledgeBase/record/{recordId}/restore restores it, with everything deleted along with it; ids from one delete are restored once. Every id gets its own outcome in results, so one refusal does not hold the others back, and the answer is 200 whatever the outcomes: with the trash turned off in Labs every id is refused with code: 403 inside a 200. An id listed twice is answered once. Body fields other than recordIds are ignored.
post/knowledgeBase/records/restore
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/knowledgeBase/records/restore
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: kb:delete
Request body
Response
Outcome for each requested record
Changes
- breaking
added the pattern
\Sto the request property/ - info
added the non-success response with the status
- breaking
- info
endpoint added
- info