Documentation
  1. API
  • Visitor Management API
    • Getting Started
      • Overview
    • API Reference
      • Logs
        • Get filtered Events logs
      • Accesses
        • Create new QR Access
      • Users
        • Create new Property Manager
        • Update existing Property Manager
    • External Visits
      • External NFC Visit
  • Visitor Management Webhooks
    • Getting started with webhooks
    • Security & Signature Verification
  • Work Permit DAMAC integration
    • API
      • Create contractor
        POST
      • Revoke contractor
        PATCH
      • Create NOC / fit-out permit
        POST
      • Get permit (reconciliation)
        GET
      • Update permit — dates / NOC
        PATCH
      • Revoke or reissue a permit pass
        PATCH
    • Webhooks
      • passes.permits.issued
      • passes.permits.updated
      • passes.permits.expiring
      • passes.permits.expired
      • passes.permits.scanned
      • passes.permits.firstScanned
      • passes.permits.lastScanned
      • communityContractors.approved
      • communityContractors.removed
  1. API

Update permit — dates / NOC

PATCH
/permits/{id}
Two operations on an existing permit (works while it is still a DRAFT too):
[Q-03] Extend / change validity — { "validFrom"?: "…", "validTill"?: "…" }. validTill cannot be in the past, nor precede validFrom. On success the existing QR is updated in place and a passes.permits.updated event is delivered with the new window.
[N-02] Replace NOC (versioned) — { "action": "replaceNoc", "noc": { … } }. The current NOC is pushed into integrations.damac.nocHistory and the new one becomes integrations.damac.noc, so the full revision history is retained. The noc object accepts the same shape as on create (url or base64 file) plus metadata (nocNumber, issueDate, expiryDate).

Request

Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Permit updated.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request PATCH '/permits/' \
--header 'Content-Type: application/json' \
--data '{
    "validTill": "2026-08-15T18:00:00.000Z"
}'
Response Response Example
200 - Example 1
{}
Previous
Get permit (reconciliation)
Next
Revoke or reissue a permit pass
Built with