---
schema_version: "1"
id: 9ccd720672d55aaa556d368682a8dc58b4a00f325bc0e22ec9a34eda09be8cc6
title: DELETE /hub/v1/workflowitems/{workflowItemId}/roles/{workflowRoleInstanceId}/Users/{userId}
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/deleteWorkflowTeamuser.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/references/mc_rest_workflowteams/deleteWorkflowTeamuser.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f094db6c3c853b60f6295f0e37497ded8407bc7b781f67ae729196f71644e958
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DELETE /hub/v1/workflowitems/{workflowItemId}/roles/{workflowRoleInstanceId}/Users/{userId}

Removes a user assigned to a workflow role.

## URL Parameters

| Name                       | Type   |            | Description                             |
| -------------------------- | ------ | ---------- | --------------------------------------- |
| **workflowRoleInstanceId** | string | `Required` | Id of the workflow role instance record |
| **workflowItemId**         | string | `Required` | Id of the workflow item                 |
| **userId**                 | string | `Required` | Id of the user to be removed            |

## Responses

| Status  | Name      | Type   | Description                                                        |
| ------- | --------- | ------ | ------------------------------------------------------------------ |
| **204** | &nbsp;    | &nbsp; | **204 No Content**                                                 |
| &nbsp;  | message   | string | Value is a required field.                                         |
| &nbsp;  | errorcode | string | Error code for the exception (10002)                               |
| &nbsp;  | &nbsp;    | &nbsp; | &nbsp;                                                             |
| **400** | &nbsp;    | &nbsp; | **404 Not Found**                                                  |
| &nbsp;  | message   | string | The WorkflowRoleInstanceUser isn’t active, so it can’t be deleted. |
| &nbsp;  | errorcode | string | Error code for the exception (30003)                               |
| &nbsp;  | &nbsp;    | &nbsp; | &nbsp;                                                             |
| **403** | &nbsp;    | &nbsp; | **403 Unauthorized**                                               |
| &nbsp;  | message   | string | Insufficient Privileges.                                           |
| &nbsp;  | errorcode | string | Error code for the exception (20002)                               |
