Skip to main content

Update an Attachment

PUT 

/agreements/:agreement_id/documents/attachments/:attachment_id

Update an attachment for the agreement

Request

Path Parameters

    agreement_id cuidrequired

    PUT /agreements/:agreement_id/documents/attachments/:attachment_id parameter

    attachment_id cuidrequired

    PUT /agreements/:agreement_id/documents/attachments/:attachment_id parameter

Body

PUT /agreements/:agreement_id/documents/attachments/:attachment_id request body

    order int64required

    Possible values: <= 9007199254740991

Responses

PUT /agreements/:agreement_id/documents/attachments/:attachment_id Successful response

Schema
    version stringrequired

    Possible values: [1.0]

    The version of the response schema

    result_type stringrequired

    Possible values: [single]

    A single object of the attachment resource.

    resource_type stringrequired

    Possible values: [attachment]

    Data contains the attachment resource.

    data objectrequired

    The resource data.

    id cuidrequired

    The unique identifier of the attachment

    resource_type stringrequired

    Possible values: [attachment]

    agreement cuidrequired

    The unique identifier of the agreement which this attachment belongs to

    order int64required

    Possible values: <= 9007199254740991

    The order of this attachment relative to the other attachments

    file object required
    oneOf

    string

    created_at stringrequired

    UTC datetime ISO string

    updated_at stringrequired

    UTC datetime ISO string

Loading...