Deletar Proof

Esse endpoint cuidará de cancelar todo o processo de assinatura.

DELETE /proofs/{proof_id}

Clique aqui para testar endpoint

🚧

Todos os endpoints deverão ser autenticados

headers = {
  'Authorization': f'Bearer {api_key}'
}

⚠️ Lembre-se de substituir a variável no parâmetro da rota pelo seu valor correto.

Exemplo de resposta:

{
    "data": {
        "deleted_at": "2024-05-21T18:44:58",
        "document": {
            "contract": {
                "deny_reason": null,
                "status": {
                    "id": 1640
                },
                "begin_date": null,
                "number": "2024/23",
                "workflow": null,
                "current_document": {
                    "id": "d281db6d-896b-49b1-9bf0-d60cd29c6eb0"
                },
                "classifier": null,
                "tasks": null,
                "archived": false,
                "due_notice": 60,
                "id": 176022,
                "shares": null,
                "inserted_at": "2024-05-15T20:10:52",
                "observations": null,
                "attachments": null,
                "financial": null,
                "form_submission": null,
                "organization": {
                    "id": 1199
                },
                "object": null,
                "comments": null,
                "updated_at": "2024-05-21T18:25:36",
                "review_flows_events": null,
                "pendencies": 0.0,
                "assignee": {
                    "id": 3056
                },
                "title": "dummy",
                "term_type": null,
                "deleted": false,
                "needs_acceptance": false,
                "end_date": null,
                "childrem_contracts": null,
                "prev_status": null,
                "custom_fields": null,
                "parent_contract": null,
                "review_flow": null,
                "prev_assignee": null
            },
            "draft": null,
            "editor": "tinymce",
            "file": {
                "id": 199850
            },
            "id": "d281db6d-896b-49b1-9bf0-d60cd29c6eb0",
            "inserted_at": "2024-05-15T20:10:52",
            "notes": null,
            "organization": {
                "id": 1199
            },
            "proofs": null,
            "updated_at": "2024-05-15T20:10:52",
            "user": {
                "id": 3056
            }
        },
        "events": [
            {
                "action": "create",
                "changed_field": null,
                "from": null,
                "id": 220498,
                "inserted_at": "2024-05-21T18:25:36",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": null,
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "send",
                "changed_field": null,
                "from": null,
                "id": 220499,
                "inserted_at": "2024-05-21T18:25:37",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": {
                    "approve_subject_change": null,
                    "certificate_company_document": null,
                    "certificate_company_name": null,
                    "certificate_document": null,
                    "certificate_email": null,
                    "certificate_name": null,
                    "company": null,
                    "company_document": null,
                    "company_name": null,
                    "confirmed_at": null,
                    "confirmed_ip_address": null,
                    "confirmed_user_agent": null,
                    "delivered_at": null,
                    "document": "136.382.516-08",
                    "email": "[email protected]",
                    "engine": "standard",
                    "id": 19549,
                    "inserted_at": "2024-05-21T18:25:36",
                    "name": "Davi",
                    "notification_type": "email",
                    "order": 1,
                    "party": {
                        "id": 346124
                    },
                    "proof": {
                        "id": 14617
                    },
                    "qualification": "Contratante",
                    "refused_changes_at": null,
                    "sent_at": "2024-05-21T18:25:37.641047Z",
                    "updated_at": "2024-05-21T18:25:37",
                    "viewed_at": null,
                    "whatsappnum": null
                },
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "send",
                "changed_field": null,
                "from": null,
                "id": 220500,
                "inserted_at": "2024-05-21T18:25:37",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": {
                    "approve_subject_change": null,
                    "certificate_company_document": null,
                    "certificate_company_name": null,
                    "certificate_document": null,
                    "certificate_email": null,
                    "certificate_name": null,
                    "company": null,
                    "company_document": null,
                    "company_name": null,
                    "confirmed_at": null,
                    "confirmed_ip_address": null,
                    "confirmed_user_agent": null,
                    "delivered_at": null,
                    "document": null,
                    "email": "[email protected]",
                    "engine": "standard",
                    "id": 19550,
                    "inserted_at": "2024-05-21T18:25:36",
                    "name": "Davi",
                    "notification_type": "email",
                    "order": 2,
                    "party": {
                        "id": 341261
                    },
                    "proof": {
                        "id": 14617
                    },
                    "qualification": "Contratada",
                    "refused_changes_at": null,
                    "sent_at": "2024-05-21T18:28:19.471589Z",
                    "updated_at": "2024-05-21T18:28:19",
                    "viewed_at": null,
                    "whatsappnum": null
                },
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "resend",
                "changed_field": null,
                "from": null,
                "id": 220501,
                "inserted_at": "2024-05-21T18:28:19",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": {
                    "approve_subject_change": null,
                    "certificate_company_document": null,
                    "certificate_company_name": null,
                    "certificate_document": null,
                    "certificate_email": null,
                    "certificate_name": null,
                    "company": null,
                    "company_document": null,
                    "company_name": null,
                    "confirmed_at": null,
                    "confirmed_ip_address": null,
                    "confirmed_user_agent": null,
                    "delivered_at": null,
                    "document": null,
                    "email": "[email protected]",
                    "engine": "standard",
                    "id": 19550,
                    "inserted_at": "2024-05-21T18:25:36",
                    "name": "Davi",
                    "notification_type": "email",
                    "order": 2,
                    "party": {
                        "id": 341261
                    },
                    "proof": {
                        "id": 14617
                    },
                    "qualification": "Contratada",
                    "refused_changes_at": null,
                    "sent_at": "2024-05-21T18:28:19.471589Z",
                    "updated_at": "2024-05-21T18:28:19",
                    "viewed_at": null,
                    "whatsappnum": null
                },
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "viewed",
                "changed_field": null,
                "from": null,
                "id": 220502,
                "inserted_at": "2024-05-21T18:37:01",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": {
                    "approve_subject_change": null,
                    "certificate_company_document": null,
                    "certificate_company_name": null,
                    "certificate_document": null,
                    "certificate_email": null,
                    "certificate_name": null,
                    "company": null,
                    "company_document": null,
                    "company_name": null,
                    "confirmed_at": null,
                    "confirmed_ip_address": null,
                    "confirmed_user_agent": null,
                    "delivered_at": null,
                    "document": "136.382.516-08",
                    "email": "[email protected]",
                    "engine": "standard",
                    "id": 19549,
                    "inserted_at": "2024-05-21T18:25:36",
                    "name": "Davi",
                    "notification_type": "email",
                    "order": 1,
                    "party": {
                        "id": 346124
                    },
                    "proof": {
                        "id": 14617
                    },
                    "qualification": "Contratante",
                    "refused_changes_at": null,
                    "sent_at": "2024-05-21T18:25:37.641047Z",
                    "updated_at": "2024-05-21T18:25:37",
                    "viewed_at": null,
                    "whatsappnum": null
                },
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "viewed",
                "changed_field": null,
                "from": null,
                "id": 220503,
                "inserted_at": "2024-05-21T18:44:26",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": {
                    "approve_subject_change": null,
                    "certificate_company_document": null,
                    "certificate_company_name": null,
                    "certificate_document": null,
                    "certificate_email": null,
                    "certificate_name": null,
                    "company": null,
                    "company_document": null,
                    "company_name": null,
                    "confirmed_at": null,
                    "confirmed_ip_address": null,
                    "confirmed_user_agent": null,
                    "delivered_at": null,
                    "document": "136.382.516-08",
                    "email": "[email protected]",
                    "engine": "standard",
                    "id": 19549,
                    "inserted_at": "2024-05-21T18:25:36",
                    "name": "Davi",
                    "notification_type": "email",
                    "order": 1,
                    "party": {
                        "id": 346124
                    },
                    "proof": {
                        "id": 14617
                    },
                    "qualification": "Contratante",
                    "refused_changes_at": null,
                    "sent_at": "2024-05-21T18:25:37.641047Z",
                    "updated_at": "2024-05-21T18:25:37",
                    "viewed_at": null,
                    "whatsappnum": null
                },
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            },
            {
                "action": "cancel",
                "changed_field": null,
                "from": null,
                "id": 220504,
                "inserted_at": "2024-05-21T18:44:58",
                "item_type": "ProofEvent",
                "proof": {
                    "id": 14617
                },
                "subject": null,
                "to": null,
                "user": {
                    "activated": true,
                    "activity": "Desenvolvedor Jr",
                    "cpf": "136.382.516-08",
                    "email": "[email protected]",
                    "first_name": "Davi",
                    "gender": "unspecified",
                    "id": 3056,
                    "last_name": "Ferreira",
                    "marital_status": null,
                    "organizations_users": null
                }
            }
        ],
        "id": 14617,
        "inserted_at": "2024-05-21T18:25:36",
        "ordered": false,
        "organization": {
            "id": 1199
        },
        "original_file": {
            "download_url": "https://s3.amazonaws.com/storage-sdb.contraktor.com.br/uploads/1199/2942BFABB3D05332B66EB128E0842CFF.pdf?response-content-disposition=attachment%3B%20filename%3D%22dummy.pdf%22&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWHE5NMRGWNUZUDGG%2F20240521%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240521T184458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=402df8adb1bd1623c71f338888f5f276249e5ec61e5b27a0347ae78f15470843",
            "google_file_id": null,
            "id": 199850,
            "inserted_at": "2024-05-15T20:10:50",
            "mime": "application/pdf",
            "name": "dummy.pdf",
            "preview_url": "https://s3.amazonaws.com/storage-sdb.contraktor.com.br/uploads/1199/2942BFABB3D05332B66EB128E0842CFF.pdf?response-content-disposition=filename%3D%22dummy.pdf%22&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWHE5NMRGWNUZUDGG%2F20240521%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240521T184458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f58e461bdf4d071ce140dc343c539c76a27edb7c39d5d2dd036c74ebe9b630a6",
            "size": 13264,
            "updated_at": "2024-05-15T20:10:50"
        },
        "packaged_file": null,
        "preview_file": null,
        "proof_subject_requested_changes": null,
        "receipt_file": null,
        "requester": {
            "id": 3056
        },
        "signed_file": null,
        "signing_file": {
            "download_url": "https://s3.amazonaws.com/storage-sdb.contraktor.com.br/uploads/1199/4916D36A4E9C110463EC5BF47611BA08.pdf?response-content-disposition=attachment%3B%20filename%3D%22dummy.pdf%22&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWHE5NMRGWNUZUDGG%2F20240521%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240521T184458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d45dc279988e6255dda804089cccd83bb8722b991e91e2c374532b24bbe95e85",
            "google_file_id": null,
            "id": 199876,
            "inserted_at": "2024-05-21T18:25:37",
            "mime": "application/pdf",
            "name": "dummy.pdf",
            "preview_url": "https://s3.amazonaws.com/storage-sdb.contraktor.com.br/uploads/1199/4916D36A4E9C110463EC5BF47611BA08.pdf?response-content-disposition=filename%3D%22dummy.pdf%22&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWHE5NMRGWNUZUDGG%2F20240521%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240521T184458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=980ebab843c4b759558d3a3d52ff2deaeb06e40a6510f286f5a35ae091205d43",
            "size": 19148,
            "updated_at": "2024-05-21T18:25:37"
        },
        "status": "canceled",
        "subjects": [
            {
                "approve_subject_change": null,
                "certificate_company_document": null,
                "certificate_company_name": null,
                "certificate_document": null,
                "certificate_email": null,
                "certificate_name": null,
                "company": null,
                "company_document": null,
                "company_name": null,
                "confirmed_at": null,
                "confirmed_ip_address": null,
                "confirmed_user_agent": null,
                "delivered_at": null,
                "document": "136.382.516-08",
                "email": "[email protected]",
                "engine": "standard",
                "id": 19549,
                "inserted_at": "2024-05-21T18:25:36",
                "name": "Davi",
                "notification_type": "email",
                "order": 1,
                "party": {
                    "id": 346124
                },
                "proof": {
                    "id": 14617
                },
                "qualification": "Contratante",
                "refused_changes_at": null,
                "sent_at": "2024-05-21T18:25:37.641047Z",
                "updated_at": "2024-05-21T18:25:37",
                "viewed_at": null,
                "whatsappnum": null
            },
            {
                "approve_subject_change": null,
                "certificate_company_document": null,
                "certificate_company_name": null,
                "certificate_document": null,
                "certificate_email": null,
                "certificate_name": null,
                "company": null,
                "company_document": null,
                "company_name": null,
                "confirmed_at": null,
                "confirmed_ip_address": null,
                "confirmed_user_agent": null,
                "delivered_at": null,
                "document": null,
                "email": "[email protected]",
                "engine": "standard",
                "id": 19550,
                "inserted_at": "2024-05-21T18:25:36",
                "name": "Davi",
                "notification_type": "email",
                "order": 2,
                "party": {
                    "id": 341261
                },
                "proof": {
                    "id": 14617
                },
                "qualification": "Contratada",
                "refused_changes_at": null,
                "sent_at": "2024-05-21T18:28:19.471589Z",
                "updated_at": "2024-05-21T18:28:19",
                "viewed_at": null,
                "whatsappnum": null
            }
        ],
        "updated_at": "2024-05-21T18:44:58"
    }
}

⚠️ Essa solicitação cancela todo o processo de assinaturas do contrato. Caso ainda queira disparar o mesmo contrato, será necessário criar uma nova proof.