Skip to main content
POST
/
label
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": "<string>",
  "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

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

Successful Response

id
string
required
Required string length: 20 - 37
name
string
required
scope
enum<string>
required
Available options:
REMOVAL
supplier_reference_id
string | null
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