New Label in Existing Status Column in Monday Board

I want to create New Label in Existing Status Column in Monday Board through Mutation.
Is there any mutation that can do that ??

Hello there @haider1122,

You could use a mutation like this:

mutation {
  change_simple_column_value(
    item_id: 1122334455
    board_id: 1234567890
    column_id: "status"
    value: "New label"
    create_labels_if_missing: true
  ) {
    id
  }
}

And then change the status back to what it was. You could also create an item with that new label in the status column and then delete the item:

mutation {
  create_item(
    board_id: 1234567890
    item_name: "Test"
    column_values: "{\"status\":\"This Label\"}"
    create_labels_if_missing: true
  ) {
    id
  }
}

I hope that helps!

Cheers,
Matias