BUG: Data Type 'integer' isn't an option when creating a custom Company Attribute

When posting
{
‘model’ : ‘company’,
‘name’ : ‘numberOfActiveDeals’,
‘data_type’ : ‘integer’,
‘description’ : ‘Number of active deals’,
}
to the /data_attributes endpoint it returns an error:
{“type”:“error.list”,“request_id”:“0004cgmbdk3l3na5nd3g”,“errors”:[{“code”:“parameter_invalid”,“message”:“Data Type isn’t an option”}]}

It actually works when we create data_type ‘date’ attributes. I didn’t try the other data_types. Occurs on API v2.1 and v2.2.