S.EE Docs
API-referentie

Tekstdeel bijwerken

Werkt de inhoud, het wachtwoord of de vervaltijd van een bestaand tekstdeel bij.

PUT
/api/v1/text

Header Parameters

Authorization*string

Your API key

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://s.ee/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"
  }
}