Update Category

Updates a category.

put
Path parameters
idstringRequired
Body
namestringOptional
descriptionstringOptional
optOutAllowedbooleanOptional
notestringOptional
deleteAllowedbooleanOptional
Responses
201

Created

application/json
put
PUT /public/v1/notifications/categories/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 92

{
  "name": "text",
  "description": "text",
  "optOutAllowed": true,
  "note": "text",
  "deleteAllowed": true
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-10T08:50:37.640Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-10T08:50:37.640Z",
      "by": "[Circular Reference]"
    },
    "published": {
      "at": "2025-08-10T08:50:37.640Z",
      "by": "[Circular Reference]"
    },
    "unpublished": {
      "at": "2025-08-10T08:50:37.640Z",
      "by": "[Circular Reference]"
    },
    "deleted": {
      "at": "2025-08-10T08:50:37.640Z",
      "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-10T08:50:37.640Z"
}

Last updated

Was this helpful?