Once the data type is set, it can not be changed. The attribute will need to be deleted then created again with the new data type. This will also delete it from the customer.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/attribute_Put",
"title": "attribute_Put",
"type": "object",
"properties": {
"name": {
"description": "Attribute name.",
"type": "string",
"minLength": 1,
"maxLength": 255
},
"id": {
"description": "Attribute ID.",
"type": "integer",
"format": "int32"
}
},
"required": [
"name",
"id"
],
"description": "Once the data type is set, it can not be changed. The attribute will need to be deleted then created again with the new data type. This will also delete it from the customer.",
"x-internal": false
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.