Rest API 5.0

Security Services

Delete Roles

This API is used to delete the roles.

Mandatory Field: roleIds, roleNames.

Method URL

deleteRoles

/api/security/roles/delete

Request Body

{

  "roleIds": [

    0

  ],

  "roleNames": [

    "string"

  ]

}

Example

{

  "roleIds": [

    0

  ],

  "roleNames": [

    "OE_PUBLIC"

  ]

}

Response Body

{

  "status": true,

  "statusCode": "Given role(s) are deleted successfully",

  "statusMsg": "",

  "response": {}

}