Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
files
object | array | boolean | integer | number | string Required Files
-
filesRequired
boolean | null Required Files required
Default value is
false
. -
id
integer(int32) Id
-
instructions
string | null Instructions
-
name
string Required Name
-
status
string | null Required Status
Values are
draft
,active
, orarchived
. Default value isdraft
. -
updatedAt
string(date-time) Updated at
PUT
/agreements/{id}.json
curl \
--request PUT 'http://api.example.com/v1/agreements/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"createdAt":"2025-05-04T09:42:00Z","files":{},"filesRequired":false,"id":42,"instructions":"string","name":"string","status":"draft","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
"createdAt": "2025-05-04T09:42:00Z",
"files": {},
"filesRequired": false,
"id": 42,
"instructions": "string",
"name": "string",
"status": "draft",
"updatedAt": "2025-05-04T09:42:00Z"
}