Skip to contentSkip to navigationSkip to topbar

Delete a computed trait


(new)

Beta

Twilio Cohorts is currently available as a Private Beta product and the information contained in this document is subject to change. You acknowledge and agree that your use of Twilio Cohorts is subject to the terms of the Services in Private Beta(link takes you to an external page). This means that some features are not yet implemented and others may be changed before the product is declared as Generally Available. Private Beta products are not covered by the Twilio Support Terms or Twilio Service Level Agreement.

(warning)

Not a HIPAA Eligible Service or PCI Compliant

Twilio Cohorts is not a HIPAA Eligible Service or PCI compliant and should not be enabled in workflows that are subject to HIPAA or PCI.

DELETE/preview/ComputedTraits/{computedTraitId}

Base url: https://audiences.twilio.com (base url)

Stops further computation and releases the trait key, so another computed trait can claim it in that store. Cancels any ComputedTraitOperation still in flight. Supports If-Match (412 on mismatch).

Does not remove trait values already written to profiles: clearing them belongs to the Profiles domain.


Request

delete-computed-trait-request page anchor

Headers

delete-computed-trait-headers page anchor
Property nameTypeRequiredDescription
If-Matchstring

Optional

Used for optimistic concurrency control on mutating requests (PATCH, PUT, DELETE). The value should be the ETag returned from a previous GET request for this resource.

If the current ETag does not match, the server returns 412 Precondition Failed, indicating the resource has been modified since it was last retrieved.

When omitted, the write proceeds without ETag validation.

Max length: 100
Property nameTypeRequiredDescription
computedTraitIdstring
required

The computedTraitId identifier


204401403404412429500

Computed trait deleted

Delete a computed traitLink to code sample: Delete a computed trait
1
curl -X DELETE "https://audiences.twilio.com/preview/ComputedTraits/computedTraitId" \
2
-u $TWILIO_API_KEY:$TWILIO_API_SECRET