curl --request PATCH \
--url http://localhost:3000/v1/portals/{id} \
--header 'Content-Type: application/json' \
--data '
{
"is_active": true
}
'{
"portal": {
"id": "<string>",
"portal_number": 123,
"name": "<string>",
"is_active": true
}
}Activate or deactivate a pickup portal. Used by the robot dashboard to manage portal availability.
curl --request PATCH \
--url http://localhost:3000/v1/portals/{id} \
--header 'Content-Type: application/json' \
--data '
{
"is_active": true
}
'{
"portal": {
"id": "<string>",
"portal_number": 123,
"name": "<string>",
"is_active": true
}
}