Skip to content

Remove Group Roles

Request

Deletes a role from a group

Security
bearer-key
Path
orgTokenstringrequired

org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

groupUuidstringrequired

Group UUID (by running User Management - Groups > Get All Groups of Organization).

Bodyapplication/jsonrequired
contextTokenstringrequired

Depending on the value of contextType, this can be:

  • orgToken (org UUID by running Entities - Organization > Get User Organization) or Api Token (from the Mend SCA App: Integrate tab > API Key).
  • productToken (product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: Integrate tab > Product Token.
  • projectToken (project UUID by running Entities - Product > Get Product Projects) or project Token (from the Mend SCA App: Integrate tab > Project Token).
Example:"123e4567-e89b-12d3-a456-426655440000"
contextTypestringrequired

Type of entity the role will be associated with

Enum:"orgs""products"
Example:"orgs"
rolestring
Enum:"DEFAULT_APPROVER""ADMIN""ALERT_EMAIL_RECEIVER""ALERTS_IGNORER""LICENSE_AND_COPYRIGHT_ASSIGNER""AUDITOR""USER""PRODUCT_INTEGRATOR""SBOM_EXPORTER"
DELETE
/api/v2.0/orgs/{orgToken}/groups/{groupUuid}/roles
{ "contextToken": "123e4567-e89b-12d3-a456-426655440000", "contextType": "orgs", "role": "DEFAULT_APPROVER" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(MessageDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "message": "Success!" } }