POST
/
label
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/label \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "name": "<string>",
  "scope": "REMOVAL",
  "supplier_reference_id": "<string>"
}'
{
  "id": "lbl_1DDK2MJ2D1S0SR6H",
  "name": "<string>",
  "scope": "REMOVAL",
  "supplier_reference_id": "<string>"
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Body

application/json
name
string
required
Required string length: 1 - 100
scope
enum<string>
required
Available options:
REMOVAL
supplier_reference_id
string
required

A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.

Required string length: 1 - 100

Response

200
application/json
Successful Response
id
string
required
Required string length: 20 - 36
Example:

"lbl_1DDK2MJ2D1S0SR6H"

name
string
required
scope
enum<string>
required
Available options:
REMOVAL
supplier_reference_id
string | null
required

Was this page helpful?