Saltar al contenido
Esc
↑↓navegar↵abrir⌘Jvista previa

Remove a thread label

Takes one label off the thread; the label stays in the inbox and on its other threads. A label that is not on the thread changes nothing. Answers every label on the thread afterwards.

DELETE/inboxes/{inbox_id}/threads/{thread_id}/labels/{label_id}
Autorización
AuthorizationToken Bearer · headerobligatorio

A BillionSend API key (bs_…).

Parámetros de ruta
inbox_idstringobligatorio

The inbox ID or its email address, such as support@example.com

thread_idstring<uuid>obligatorio

The thread ID

label_idstring<uuid>obligatorio

The label ID

Respuestas
200

The labels left on the thread

objectstringobligatorio
Valores permitidos:list
dataobject[]obligatorio

Every label on the thread after the change

Mostrar propiedades
Array de object
idstring<uuid>obligatorio
namestringobligatorio
colorstringobligatorio
401

Missing, malformed, unknown or revoked API key

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
404

Inbox, thread or label not found

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
Pruébalo
Servidor
Autorización
Parámetros
Solicitud
curl -X DELETE 'https://api.billionsend.com/inboxes/string/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/labels/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Respuesta
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "color": "string"
    }
  ]
}

¿Te ha resultado útil esta página?