WatchDog Security MSP Portal API v1
  1. Role
WatchDog Security MSP Portal API v1
  • Node
    • List Node
      GET
    • Get Node
      GET
    • Create Node
      POST
    • Update Node
      PATCH
    • Delete Node
      DELETE
  • Role
    • List Permissions
      GET
    • List Roles
      GET
    • List Service Account Permissions
      GET
    • Get Role
      GET
    • Create Role
      POST
    • Update Role
      PATCH
    • Delete Role
      DELETE
  • MSP Employee
    • List MSP Employee
      GET
    • Get MSP Employee
      GET
    • Create MSP Employee
      POST
    • Resend MSP Invited Employee Activation Email
      POST
    • Reset MSP Employee 2FA
      PATCH
    • Update MSP Employee
      PATCH
    • Delete MSP Employee
      DELETE
  • Billing
    • List Available Packages
      GET
  • Managed Company
    • List Managed Company
      GET
    • Get Managed Company
      GET
    • Create Managed Company
      POST
    • Update Managed Company
      PATCH
    • Delete Managed Company
      DELETE
  1. Role

Delete Role

DELETE
/api/msp/roles/{role_id}/

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200
application/json
Body

🟠400
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://app-prod.watchdogsecurity.io/api/msp/roles/{{role_id}}/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "success": [
        "Role was deleted successfully."
    ]
}
Modified at 2025-12-31 00:32:46
Previous
Update Role
Next
List MSP Employee
Built with