Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/{version}/policies/{policyId}/team/{teamId}/remove


Descriptor

Value

HTTP Method

DELETE

Description

Removes a policy from a team as well as any applications associated with that team

Required Permission

Manage PoliciesTeams

Version Introduced2.6.0

 

Sample Call:

Code Block
themeEclipse
curl -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' -X DELETE http://localhost:8080/threadfix/rest/latest/policies/1/team/1/remove


Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Successfully removed Policy(1) from Team(1)."
}


Page Tree
rootPolicies API