Skip to main content
PUT
/
api
/
rest
/
document_reference_specifications
/
{id}
Update One Document Reference Specification
curl --request PUT \
  --url https://api.upwell.com/api/rest/document_reference_specifications/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "input": {
    "createdAt": "<unknown>",
    "customerId": "<string>",
    "formatRegex": "<string>",
    "id": "<string>",
    "name": "<string>",
    "nameRegex": "<string>",
    "tenantId": "<string>",
    "updatedAt": "<unknown>"
  }
}
'
{
  "updateDocumentReferenceSpecification": {
    "createdAt": "<unknown>",
    "customerId": "<string>",
    "formatRegex": "<string>",
    "id": "<string>",
    "name": "<string>",
    "nameRegex": "<string>",
    "tenantId": "<string>",
    "updatedAt": "<unknown>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string
input
DocumentReferenceSpecificationsSetInput Ā· object

input type for updating data in table "document_reference_specifications"

Response

200 - application/json

Responses for PUT /api/rest/document_reference_specifications/{id}

updateDocumentReferenceSpecification
DocumentReferenceSpecifications Ā· object

columns and relationships of "document_reference_specifications"