Delete an Observer
DELETE/agreements/:agreement_id/observers/:observer_id
Deletes an existing observer
Request
Path Parameters
DELETE /agreements/:agreement_id/observers/:observer_id parameter
DELETE /agreements/:agreement_id/observers/:observer_id parameter
Responses
- 200
- 400
DELETE /agreements/:agreement_id/observers/:observer_id Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Possible values: [1.0
]
The version of the response schema
Possible values: [deleted
]
Returns a single object of the observer resource which was deleted.
Possible values: [observer
]
Data contains the observer resource.
data objectrequired
The resource data that was deleted.
The unique identifier of the observer
Possible values: [observer
]
The name of the observer. Required if no email is provided.
The email of the observer. Required if agreement is configured to send emails or if the observer_scope is 'cc'.
observer_scope object required
The scope of the observer. If specified as viewer, they will gain access to the signing room to follow the process. Otherwise, they will only receive the final, signed document.
string
string
The unique identifier for the agreement this observer belongs to
The URL to the signing room for the observer. Only available after the agreement is not in draft.
UTC datetime ISO string
UTC datetime ISO string
{
"version": "1.0",
"result_type": "deleted",
"resource_type": "observer",
"data": {
"id": "cdzpdorii4avtx7gvmiexample",
"resource_type": "observer",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"observer_scope": "cc",
"agreement": "coenaybsp9nym2cgbfzexample",
"signing_room_url": "https://www.zigned.se/sign/cop0ia9liqgukxrzjmpexample/cm2imfnwoclvp5sqn9sexample",
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
}
DELETE /agreements/:agreement_id/observers/:observer_id Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}