Label

Create label

Create a new label object.

post/api/v1/labels

Request body

idinteger

Label object ID.

urlstring uri

Label object URL.

namestring

Text of the label.

organizationstring uri

Organization URL.

colorstring nullable

Color of the label in RGB hex format.

Example request

{
  "id": 1,
  "url": "https://example.rossum.app/api/v1/labels/1",
  "name": "expedite",
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "color": "#FF5733"
}

Response

Created

idinteger required

Label object ID.

urlstring uri required

Label object URL.

namestring required

Text of the label.

organizationstring uri required

Organization URL.

colorstring nullable required

Color of the label in RGB hex format.

Example response

{
  "id": 1,
  "url": "https://example.rossum.app/api/v1/labels/1",
  "name": "expedite",
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "color": "#FF5733"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.