Update Text Sharing
Updates the content and/or title of an existing text sharing. The domain and slug identify which text to update.
Header Parameters
Request Body
application/json
Updated text content and settings
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/api/v1/text" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "domain": "string", "slug": "string", "title": "string" }'{ "code": 0, "message": "string", "data": { "code": 0, "data": { "tags": [ { "id": 0, "name": "string" } ] }, "message": "string" }}Create Text Sharing POST
Creates a shareable text snippet with a unique URL. Perfect for sharing code, notes, or any text content. Supports plain text, source code (with syntax highlighting), and Markdown formatting.
Delete Text Sharing DELETE
Permanently deletes a text sharing. This action cannot be undone. The slug will become available for reuse after deletion.