UpdateProjectRequestAccess

This method can be used for the following functionality: Patch the ACL (Access Control List) on a Project Request

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

PATCH /api/ss/request/{id}/access 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:

PUT /api/ss/request/5eac95f1e594ea09107e9bb5/access HTTP/1.1

Body

operations (array of objects)

ACL operations to be applied.

  • type: must be either 'add' or 'remove'.

  • roles: list of roles. Must be 'client', 'consultant' or 'librarymod'.

  • user_ids: list of user ids.

  • group_ids: list of group ids.

  • access_level: mandatory when adding an ACL operation. Must be either 'view', 'edit' or 'action'.

Example:

Example

The following example is a cURL request to update access to a project request.

Request

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

Response

Response contains a status.

Last updated