AttackForge Enterprise

CreateGroup

This method can be used for the following functionality: Create a new group in AttackForge

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

POST /api/ss/group HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Query

name (string)

Name of the group.

Example:

{
"name": "..."
}

group_owner (string)

Name of the owner for the group.

Example:

{
"group_owner": "..."
}

primary_contact_name (string)

Primary contact person name.

Example:

{
"primary_contact_name": "..."
}

primary_contact_number (string)

Primary contact person number.

Example:

{
"primary_contact_number": "..."
}

primary_contact_email (string)

Primary contact person email.

Example:

{
"primary_contact_email": "..."
}

Example

The following example is a cURL request to create a new group.

Request

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

curl -X POST 'https://demo.attackforge.com/api/ss/group' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"name": "ACME Corp. Digital Team",
"group_owner": "John Citizen",
"primary_contact_name": "Paul Citizen",
"primary_contact_number": "(555)555-5555",
"primary_contact_email": "john.citizen@attackforge.com"
}'

Response

Response contains a status.

{
"status": "Group Created"
}