Delete a ticket follower
Removes a follower and answers the followers afterwards. Removing someone who does not follow changes nothing.
DELETE/ api/ support/ tickets/ {ticket}/ subscribers/ {subscriber}
Path parameters
ticketintegerRequired
The number of a ticket. Digits only. At least 1.
subscriberintegerRequired
The id of a person. Digits only. At least 1.
Returns
200 The followers.
Fields of the 200 answer
can_managebooleanRequired
Whether you may add and remove followers.
subscribersarray of objectsRequired
Fields of each item
company_namestring or nullRequired
emailstring or nullRequired
idintegerRequired
At least 1.
namestringRequired
ticket_idintegerRequired
At least 1.
If it is refused
| Status | Reason | What to do |
|---|---|---|
401 | none | Send a valid token as Authorization: Bearer <token>. |
403 | forbidden | The person is not allowed to do this. |
403 | scope_required | Use a token with the scope named in scope. |
404 | none | Check the id. You see only what your account can reach. |
429 | rate_limited | Wait for the seconds in Retry-After. |
Reasons are listed by name in Errors and refusals.
The same task elsewhere
curl -X DELETE https://manage.corefinity.com/api/support/tickets/48210/subscribers/2042 \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json"use Illuminate\Support\Facades\Http;
$response = Http::withToken(env('COREFINITY_TOKEN'))
->acceptJson()
->delete('https://manage.corefinity.com/api/support/tickets/48210/subscribers/2042');
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/support/tickets/48210/subscribers/2042', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
Accept: 'application/json',
},
});
// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);import os
import requests
res = requests.delete(
"https://manage.corefinity.com/api/support/tickets/48210/subscribers/2042",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
)
data = res.json() if res.content else None{
"can_manage": true,
"subscribers": [
{
"company_name": "Harbour & Finch",
"email": "[email protected]",
"id": 2041,
"name": "Eleanor Finch"
}
],
"ticket_id": 48210
}{
"message": "Unauthenticated."
}{
"code": "forbidden",
"message": "You cannot change who follows this ticket.",
"reason": "forbidden"
}{
"message": "Not found."
}{
"code": "rate_limited",
"message": "Too many requests. Try again in 60 seconds.",
"reason": "rate_limited",
"retry_after_seconds": 60
}Try it
Try it is off for this endpointIt has not been cleared for the console. Copy the request and run it yourself when you are sure.
Was this helpful?