Delete a property definition
client.prism.properties.delete(stringpropertyID, PropertyDeleteParams { teamId, objectType, type, list_id } params, RequestOptionsoptions?): void
DELETE/v2/prism/{teamId}/{objectType}/properties/{propertyId}
Removes the property definition and any of its options. Fails with 409 property_in_use if records still reference the property.
Delete a property definition
import Micro from '@micro-so/sdk';
const client = new Micro({
teamID: 'My Team ID',
apiKey: process.env['MICRO_API_KEY'], // This is the default and can be omitted
});
await client.prism.properties.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
objectType: 'comment',
type: 'num',
});