Update Enrollment Attachment

put
Path parameters
enrollmentIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall of | nullableOptional
revisioninteger · int32Optional
namestringOptional
descriptionstringOptional
typestringOptional
filenamestringOptional
sizeinteger · int32Optional
contentTypestringOptional
enrollmentall ofOptional
Responses
200

OK

application/json
put
PUT /public/v1/program/enrollments/{enrollmentId}/attachments/{id} HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 452

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-05T20:18:08.190Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-09-05T20:18:08.190Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "revision": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "revision": 1,
    "applicableTo": "Buyer",
    "type": "Change",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "Processing"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-05T20:18:08.190Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-09-05T20:18:08.190Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "revision": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "revision": 1,
    "applicableTo": "Buyer",
    "type": "Change",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "Processing"
  }
}

Last updated

Was this helpful?