---
title: "Changes to Create Target Label"
method: POST
path: "/labels/targets/"
---

# Changes to Create Target Label

`POST /labels/targets/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 9 revisions.

- **2025-03-27** `8b8322107b18`: 7 breaking, 8 info

## Changes

- **2025-03-27** `8b8322107b18`: 7 breaking, 8 info
  - added the new required request property `name` (media type: application/json)
  - added the new required request property `name` (media type: application/x-www-form-urlencoded)
  - added the new required request property `name` (media type: multipart/form-data)
  - the request's body type changed from no type to `object` (media type: application/json)
  - the request's body type changed from no type to `object` (media type: application/x-www-form-urlencoded)
  - the request's body type changed from no type to `object` (media type: multipart/form-data)
  - the response's body type changed from no type to `object` for status `201`
  - added the new optional request property `color` (media type: application/json)
  - added the new optional request property `color` (media type: application/x-www-form-urlencoded)
  - added the new optional request property `color` (media type: multipart/form-data)
  - added the optional property `color` to the response with the `201` status
  - added the required property `changed` to the response with the `201` status
  - added the required property `changed_by` to the response with the `201` status
  - added the required property `id` to the response with the `201` status
  - added the required property `name` to the response with the `201` status

---

[Operation](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/docs/labels/targets/post.md) - [API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [Page](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/labels/targets/post)
