API version 2.0
...
Accounts
Archive
1 min
an archived contact remains in successeve database but is not visible and not processed an archived contact can be unarchived via api or the application ui if updates or events related to this contact are received they will be ignored { "name" "archive an account", "method" "get", "url" "https //data ssuccesseve/v2/accounts/\ id/archive", "description" "archive an account by its id", "tab" "examples", "examples" { "languages" \[ { "id" "iqm7nj9zqmqnuqyluqkeq", "language" "curl", "code" "curl x get https //data successeve com/v2/accounts/{id}/archive \\\\\n h 'accept application/json' \\\\\n h 'authorization\ bearer \<your access token>'", "customlabel" "" } ], "selectedlanguageid" "iqm7nj9zqmqnuqyluqkeq" }, "results" { "languages" \[ { "id" "c2ikkxvpaqe56hqocxfym", "language" "200", "customlabel" "", "code" "{\n \\"object\\" \\"account\\",\n \\"id\\" \\"5d3bae5bcb4a287b44583a55\\",\n \\"unique id\\" \\"5d3bae4cf92ea13a3dfb542e\\",\n \\"created at\\" 1564192347,\n \\"data\\" {\n \\"name\\" \\"acme corp\\"\n },\n \\"salesmachine\\" {\n \\"health\\" \\"good\\"\n },\n \\"stage\\" {\n \\"name\\" \\"trial\\",\n \\"id\\" \\"5b2bc014ce8d8355c6d48b70\\"\n },\n \\"contacts\\" {\n \\"object\\" \\"contact list\\",\n \\"data\\" \[\n {\n \\"id\\" \\"5d3bae278cae234bef95405a\\"\n }\n ]\n }\n}\n\n" }, { "id" "igqoajae7fosfchra4qf ", "language" "404", "customlabel" "", "code" "{\n \\"error\\" \\"404 object not found\\"\n}" } ], "selectedlanguageid" "c2ikkxvpaqe56hqocxfym" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "id", "kind" "required", "type" "string", "description" "id of the account to archive" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }