# Save label and values at account, org or project level Endpoint: PUT /code/api/v1/labels Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. ## Request fields (application/json): - `label` (object) - `label.color` (string) Enum: "blue", "brown", "cyan", "green", "indigo", "lime", "mint", "orange", "pink", "purple", "red", "violet", "yellow" - `label.description` (string) - `label.id` (integer) - `label.key` (string) - `label.type` (string) Enum: "dynamic", "static" - `values` (array) - `values.value` (string) ## Response 200 fields (application/json): - `label` (object) - `label.color` (string) Enum: "blue", "brown", "cyan", "green", "indigo", "lime", "mint", "orange", "pink", "purple", "red", "violet", "yellow" - `label.created` (integer) - `label.created_by` (integer) - `label.description` (string) - `label.id` (integer) - `label.key` (string) - `label.pullreq_count` (integer) - `label.repo_id` (integer,null) - `label.scope` (integer) - `label.space_id` (integer,null) - `label.type` (string) Enum: "dynamic", "static" - `label.updated` (integer) - `label.updated_by` (integer) - `label.value_count` (integer) - `values` (array) - `values.label_id` (integer) - `values.value` (string) ## Response 400 fields (application/json): - `message` (string) - `values` (object) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 404 fields (application/json): - `message` (string) - `values` (object) ## Response 500 fields (application/json): - `message` (string) - `values` (object)