Restore a company
POST
/v1/companies/{record_id}/restoreRequires the scope companies:write
Bring back an archived company.
#Path parameters
record_idstringrequired
#Responses
200Successful Response
Show response fieldsHide response fields
archived_atstring (date-time) or nullrequired
fieldsobject (values: object)required
Show child attributesHide child attributes
has_historybooleanrequired
itemsobject[] or null
Show child attributesHide child attributes
is_primarybooleanrequired
sourcestringrequired
valuestringrequired
labelstringrequired
sourcestring or nullrequired
typestringrequired
valuestring | integer | number | boolean | string[] | object[] | object or nullrequired
A value as stored or shown. Text, dates, times, picklist values, member and record IDs are strings; a multi-select, tags or the points of a contact are lists of strings; money is
{ amount, currency }; a linked member or record is { id, name } (a list of them for a column that holds several); a status shown with its label is { value, label }; the guests of a meeting are a list of { email, name, response }; a metric column holds { value, unit, sample_size, unknown_count, reason }.idstringrequired
objectstringrequired
processingobjectrequired
Show child attributesHide child attributes
errorstring or null
fields_pendingstring[]required
statusstringrequired
updated_atstring (date-time)required
#Errors
Errors use the standard error shape.
| Status | Meaning |
|---|---|
400 | The request is not valid. |
401 | Not signed in, or the credentials are not valid. |
402 | The balance is too low. |
403 | Not allowed to do this. |
404 | Not found. |
409 | Conflicts with the current state. |
413 | The request body is too large. |
415 | The content type is not supported. |
422 | A value in the request is not valid. |
429 | Too many requests. Wait for Retry-After seconds. |
500 | Something went wrong on our side. |
502 | A service Valeron depends on refused the request. |
503 | A service Valeron depends on is unavailable. |
