Get a label by ID

This method returns the label that matches the entered ID.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
label_id
required
integer

The label's ID

Responses
200

label object

404

label not found

get/labels/{label_id}
Response samples
application/json
{
  • "created_by": 42,
  • "created_on": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "info": {
    },
  • "name": "SPAM",
  • "updated_by": 42,
  • "updated_on": "2023-02-06T02:48:59+00:00"
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.