This documentation is still a work in progress. Please contact Support to register for early access.
curl --location --request PUT 'https://api.portierx.com/api/v1/access-points/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "East Wing Control Room Entry",
"label": "ENT-EAST-CTRL",
"description": "Access point for the East Wing control room. Restricted to maintenance engineers and system supervisors. Protected by keycard + PIN entry.",
"source": "manual",
"linked_credentials": [
"0b3871ee-bc82-4777-b487-780304eb4ce9",
"74c17b1b-1e08-41a4-b1f3-7bc6a5cc2272"
]
}'{
"msg": "Access Point updated successfully.",
"data": {
"id": "cbb46b86-4086-4aa8-948e-17ca874d882d",
"name": "East Wing Control Room Entry",
"label": "ENT-EAST-CTRL",
"description": "Access point for the East Wing control room. Restricted to maintenance engineers and system supervisors. Protected by keycard + PIN entry.",
"source": "manual",
"linked_credentials": [
{
"id": "bb56feb2-6779-4dc3-834a-a8a3eb1afb1b",
"credential_id": "AC-20250709-015",
"credential_name": "Maintenance Engineer Badge",
"assigned_to": {
"id": "c9646066-10f4-4086-b08c-d98ca6fb6beb",
"first_name": "Günther",
"last_name": "Doe",
"mobile_phone": "+44 7911 123456",
"email": "gunther.doe@datacenter.io"
},
"source": "manual"
},
{
"id": "b2d83ae5-b2bf-4af2-838c-9a141f9b81f0",
"credential_id": "AC-20250709-016",
"credential_name": "Supervisor Badge - East Wing",
"assigned_to": {
"id": "afea0d35-ce35-4912-94fd-e799c0200940",
"first_name": "John",
"last_name": "حسن",
"mobile_phone": "+1 415 555 2671",
"email": "john.hassan@datacenter.io"
},
"source": "imported"
}
]
}
}