UpdateProjectAccess
This method can be used for the following functionality: Patch the ACL (Access Control List) on a Project
Last updated
{
"operations": [
{
"type": "add",
"user_id": "638fb228640930001c4705ff",
"access_level": "Edit",
"project_role": "Pentester",
"notifications": [
"All Emails"
]
},
{
"type": "update",
"user_id": "638fb228640930001c4705ff",
"project_role": "Pentest Lead"
},
{
"type": "remove",
"user_id": "67aafc1bd5fb39fec060265d"
}
]
}curl -X PATCH 'https://demo.attackforge.com/api/ss/project/5eac95f1e594ea09107e9bb5/members' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"operations": [
{
"type": "add",
"user_id": "638fb228640930001c4705ff",
"access_level": "Edit",
"project_role": "Pentester",
"notifications": [
"All Emails"
]
},
{
"type": "update",
"user_id": "638fb228640930001c4705ff",
"project_role": "Pentest Lead"
},
{
"type": "remove",
"user_id": "67aafc1bd5fb39fec060265d"
}
]
}'{
"status": "ok | error",
"error": "..."
}