Update Enrollment Attachment

put
Path parameters
enrollmentIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall ofOptional
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.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 417

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-27T14:07:25.063Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-06-27T14:07:25.063Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "applicableTo": "text",
    "type": "text",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-27T14:07:25.063Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-06-27T14:07:25.063Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "applicableTo": "text",
    "type": "text",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "text"
  }
}

Last updated

Was this helpful?