For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetAvailableDelegations

Get every delegation that a user can be given.

These are the delegations that exist on your AttackForge, which are the only ones Update User Delegations can grant: a name it accepts that is not listed here is skipped without an error.

The list is the same for every caller, and is sorted by name.

Headers

GET /api/ss/delegations HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json

Example

Request

curl --request GET \
	--url https://demo.attackforge.com/api/ss/delegations \
	--header 'content-type: application/json' \
	--header 'x-ssapi-key: ************'

Response

{
  "count": 999,
  "delegations": [
    {
      "name": "create-projects",
      "description": "Allow user to create new projects, edit their projects, and manage access to their projects."
    }
  ]
}

Access and failures

If the delegations could not be read, Error Finding Delegations is returned in error, with a count of 0 and an empty list.

Last updated