Unpublish Category

Unpublish a category

post
Path parameters
idstringRequired
Body

Entity Note Dto

notestring | nullableOptional
Responses
200

OK

application/json
post
POST /public/v1/notifications/categories/{id}/unpublish HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "note": "text"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-06T09:29:29.567Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-06T09:29:29.567Z",
      "by": "[Circular Reference]"
    },
    "published": {
      "at": "2025-08-06T09:29:29.567Z",
      "by": "[Circular Reference]"
    },
    "unpublished": {
      "at": "2025-08-06T09:29:29.567Z",
      "by": "[Circular Reference]"
    },
    "deleted": {
      "at": "2025-08-06T09:29:29.567Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "description": "text",
  "optOutAllowed": true,
  "status": "text",
  "name": "text",
  "note": "text",
  "deleteAllowed": true,
  "icon": "text",
  "statistics": {
    "month": {
      "bounced": 1,
      "complained": 1,
      "discarded": 1,
      "failed": 1,
      "sent": 1,
      "total": 1
    },
    "today": {
      "bounced": 1,
      "complained": 1,
      "discarded": 1,
      "failed": 1,
      "sent": 1,
      "total": 1
    },
    "week": {
      "bounced": 1,
      "complained": 1,
      "discarded": 1,
      "failed": 1,
      "sent": 1,
      "total": 1
    }
  },
  "lastUsed": "2025-08-06T09:29:29.567Z"
}

Last updated

Was this helpful?