Update Enrollment Attachment

put
Path parameters
enrollmentIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall of | nullableOptional
namestringOptional
revisioninteger · int32Optional
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: 525

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-26T19:49:43.206Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-26T19:49:43.206Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "revision": 1,
    "name": "text",
    "applicableTo": "Buyer",
    "type": "Change",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "Draft"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-26T19:49:43.206Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-26T19:49:43.206Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "revision": 1,
    "name": "text",
    "applicableTo": "Buyer",
    "type": "Change",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "Draft"
  }
}

Last updated

Was this helpful?