GetProjectMembershipAdministrators

This method can be used for the following functionality: Get 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

GET /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)

Identifier for the project.

Example:

GET /api/ss/project/5e64179c899bb708b55ea48c/member-admins HTTP/1.1

Example

The following example is a cURL request to get all project membership administrators for a given project.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

curl -X GET 'https://demo.attackforge.com/api/ss/project/5e64179c899bb708b55ea48c/member-admins' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'

Response

Response contains an array of project membership administrator objects.

{
  "member_admins": [
    {
      "created": "2025-03-23T05:05:25.825Z",
      "modified": "2025-03-23T05:05:25.825Z",
      "project_id": "6132a2db9239f0975f505c4b",
      "group_id": "620f1707c66ef8821d35ee17",
      "access_level_limit": "View",
      "add_user_method": "email",
      "allow_user_invite": false
    },
    {
      "created": "2025-03-23T05:05:25.825Z",
      "modified": "2025-03-23T05:05:25.825Z",
      "project_id": "6132a2db9239f0975f505c4b",
      "user_id": "6132a2db9239f0975f505c4b",
      "access_level_limit": "Edit",
      "add_user_method": "list",
      "allow_user_invite": true
    }
  ]
}

Last updated