POST

Ticket.AssigneeRemove

Remove a team member from tickets.assign_member_id (customer-tickets unassign). Both ticket_id and member_id are required.

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Runs the Ticket.AssigneeRemove function and returns JSON.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • ticket_id and member_id are both required.
  • member_id aliases: team_member_id, user_id, assign_member_id.
  • ticket_id aliases: id, data_id, t_id.
  • Only removes the given member; other assignees stay on the ticket.
  • When assignees actually change, last_assign_time is reset (ticket automation not_assigned timer).
  • If no assignees remain, status becomes 1 (Opened) and last_status_time is also reset (dashboard delete_single_recods).
  • Emits realtime ticket.assignee.updated.

Required Parameters

NameTypeSampleExplanation
ticket_id
post
int900Ticket id. Aliases: id, data_id, t_id.
member_id
post
int47Team member to remove. Aliases: team_member_id, user_id, assign_member_id.

Optional Parameters

No optional body parameters are defined for this function.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Ticket.AssigneeRemove",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "ticket_id": "900",
        "member_id": "47"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Ticket.AssigneeRemove",
    "url_domain": "https:\/\/{domain}\/app\/Ticket.AssigneeRemove"
}

Endpoint

POST /app/Ticket.AssigneeRemove
POST https://{user}.bull36.com/app/Ticket.AssigneeRemove
POST https://{domain}/app/Ticket.AssigneeRemove

Sample Output

{
    "success": 1,
    "message": "Success",
    "ticket_id": 900,
    "assign_member_id": []
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ ticket_id: '900', member_id: '47' });
const res = await fetch('/app/Ticket.AssigneeRemove', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Missing required parameter: member_id"
}