Links to resources
Each resource exposes links to related entities via the _links map. Use these links rather than constructing the URIs yourself.
The number of links are different for each entity and new links can be added over time, but every entity will always have a self
link that points to … itself :-).
You can use this link to delete one particular entity from a list.
The Get Conversation endpoint is a good example of different resource links.
{
...,
"_links": {
"self": {
"href": "https://api.helpscout.net/v2/conversations/281801848"
},
"mailbox": {
"href": "https://api.helpscout.net/v2/mailboxes/85"
},
"primaryCustomer": {
"href": "https://api.helpscout.net/v2/customers/102979924"
},
"createdByUser": {
"href": "https://api.helpscout.net/v2/users/4"
},
"threads": {
"href": "https://api.helpscout.net/v2/conversations/281801848/threads/"
}
}
}