Skip to content

Upsert labels for an existing Email Inbox

Request

PUT /v3/email-inboxes/{emailInboxId}/labels
Security
API_Key
Path
emailInboxIdintegerrequired

Unique identification number for email inbox

Bodyapplication/jsonrequired

Update an existent Email Inbox labels

Array [
integer, (int64), >= 1

Label identifier

]
PUT
/v3/email-inboxes/{emailInboxId}/labels
curl -i -X PUT \
  'https://api.observepoint.com/v3/email-inboxes/{emailInboxId}/labels' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    223
  ]'

Responses

Successful operation

Bodyapplication/json
Array [
idinteger, (int64), >= 1required

Label identifier

Example:223
namestringrequired
]
Response
[ { "id": 223, "name": "string" } ]