Skip to content

Update Profile Attachment By Profile And Attachment Id

Request

Updates A Profile Attachment By Profile And Attachment Id

Security
bearerToken
Path
profileIdstring, (uuid)required

Id of a profile.

Example:9a7ae0c8-f473-4ab6-8dbb-03fc061630cc
attachmentIdstring, (uuid)required

Id of a attachmentId.

Example:9a7ae0c8-f473-4ab6-8dbb-03fc061630cc
Bodymultipart/form-data
documentTypestring

The document type of the attachment

descriptionstring

The description of the attachment. Limited to 250 characters.

curl -i -X PUT \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/9a7ae0c8-f473-4ab6-8dbb-03fc061630cc/attachments/9a7ae0c8-f473-4ab6-8dbb-03fc061630cc \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F documentType=string \
  -F description=string

Responses

Bodyapplication/json
idstring, (uuid)

Attachment Id.

fileNamestring

Example : passport.pdf Attachment Name.

fileSizeInBytesinteger, (int64)

Size of the attachment in bytes.

documentTypestring

Document type of the attachment.

descriptionstring

Description of the attachment.

createdAtstring, (date-time)

Attachment uploaded time.

createdByIdinteger, (int32)

Attachment uploaded by user id

createdBystring

Attachment uploaded by user

modifiedAtstring, (date-time)

Attachment modified time

modifiedByIdinteger, (int32)

Attachment modified by user id

modifiedBystring

Attachment modified by user

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "fileSizeInBytes": 0, "documentType": "string", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "createdById": 0, "createdBy": "string", "modifiedAt": "2019-08-24T14:15:22Z", "modifiedById": 0, "modifiedBy": "string" }