RemoveProjectMembershipAdministrators
This method can be used for the following functionality: Remove user(s) or group(s) as project membership administrators
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
DELETE /api/ss/project/{id}/member-admins HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close
Path
id (string)
Id of the project.
Example:
DELETE /api/ss/project/5eac95f1e594ea09107e9bb5/member-admins HTTP/1.1
Body
group_id (string)
Id of the group.
Example:
{
"group_id": "..."
}
user_id (string)
Id of the user.
Example:
{
"user_id": "..."
}
Example
The following example is a cURL request to remove project membership administrators on a project.
Request
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
curl -X DELETE 'https://demo.attackforge.com/api/ss/group/user' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"member_admins":[
{
"group_id":"620f1707c66ef8821d35ee17"
},
{
"user_id":"6132a2db9239f0975f505c4b"
}
]
}'
Response
Response contains a status.
{
"status": "ok"
}
Last updated