Delete conversation
Changed onDelete a conversation by its ID.
Overview:
Performs a soft delete by setting isDeleted: true. The conversation is removed from listings but preserved in the database. All citations referenced by messages in the conversation are also soft-deleted.
Permissions:
Only the conversation's owner can delete it. The lookup also allows a user the conversation is shared with at write access, but it requires the caller to be the owner as well, so such a user is answered 404.
Artifacts: before the conversation is marked deleted, every artifact the caller created in it is deleted for good (every version and stored file), and so are older stored outputs of the conversation. If that cannot be done the conversation is left in place and the error is returned (for example 503); repeating the request finishes the cleanup.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/conversations/{conversationId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: conversation:write
Path parameters
Unique conversation identifier
Response
Conversation deleted successfully
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info