Move record to another location
Changed onMove a file or folder record to a different location within the same knowledge base.
Set newParentId to a folder ID to move the record into that folder, or null (or an empty string) to move it to the knowledge base root. A folder moves with everything in it. Moving a record to where it already is answers 200 with the same body.
Required Permission: OWNER or WRITER. A READER gets 403; a caller with no role on the knowledge base gets 404 (Knowledge base not found).
Request: only newParentId is read; other body fields and any query parameter are ignored.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/knowledgeBase/{kbId}/record/{recordId}/move
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: kb:write
Path parameters
Knowledge base UUID
Record identifier (file or folder). A record that is not in this knowledge base (unknown, or in another one) is answered 404.
Request body
Response
Record moved successfully
Example response
{
"success": true,
"message": "Record moved successfully"
}Changes
- info
added the media type
application/x-www-form-urlencodedto the request body
- info
- info
added the non-success response with the status
- info