/api/v1/locations/{id}/paperless (PUT)
PUT
/api/v1/locations/{id}/paperless
const url = 'https://example.com/api/v1/locations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/paperless';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"url":"example","token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/locations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/paperless \ --header 'Content-Type: application/json' \ --data '{ "url": "example", "token": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
url
required
string
token
string
Examplegenerated
{ "url": "example", "token": "example"}Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
id
required
string format: uuid
url
required
string
version
required
string | null
createdBy
required
object
id
required
string format: uuid
displayName
required
string
updatedAt
required
string format: date-time
links
required
integer
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "url": "example", "version": "example", "createdBy": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "displayName": "example" }, "updatedAt": "2026-04-15T12:00:00Z", "links": 1}