# RegistrydefineSpaceLabel Endpoint: POST /har/api/v1/v1/spaces/{space_ref}/labels Version: 1.0 Security: x-api-key ## Path parameters: - `space_ref` (string, required) ## Request fields (application/json): - `color` (string) Enum: "blue", "brown", "cyan", "green", "indigo", "lime", "mint", "orange", "pink", "purple", "red", "violet", "yellow" - `description` (string) - `key` (string) - `type` (string) Enum: "dynamic", "static" ## Response 201 fields (application/json): - `color` (string) Enum: "blue", "brown", "cyan", "green", "indigo", "lime", "mint", "orange", "pink", "purple", "red", "violet", "yellow" - `created` (integer) - `created_by` (integer) - `description` (string) - `id` (integer) - `key` (string) - `scope` (integer) - `space_id` (integer,null) - `type` (string) Enum: "dynamic", "static" - `updated` (integer) - `updated_by` (integer) - `value_count` (integer) ## 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)