canEditPerson
WRITEWhether the caller may write another person's profile under `permission`, answered by the database's one rule, `person_works_where_caller_holds`: the permissio….
POST /api/v1/account/canEditPerson
curl -X POST '<your-host>/api/v1/account/canEditPerson' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"personId": "string",
"permission": "string"
}'Response
trueParameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"personId": {
"type": "string"
},
"permission": {}
},
"required": [
"personId",
"permission"
]
}