Delete a computed trait
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. 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.
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.
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.
100The computedTraitId identifier
Computed trait deleted
Unauthorized - Authentication credentials are missing or invalid
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/20003","title": "Authentication required","status": 401,"code": 20003,"detail": "The request requires valid authentication credentials.","instance": "/preview/Cohorts"}
Forbidden - The authenticated user does not have permission to access this resource
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/24003","title": "Access denied to this resource","status": 403,"code": 24003,"detail": "You do not have permission to access this resource.","instance": "/preview/Cohorts"}
Not Found - The requested resource does not exist
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/24004","title": "Resource not found","status": 404,"code": 24004,"detail": "Cohort with ID 'cmp_cohort_01h9d8r0vte3hz8tykdj329t7r' was not found.","instance": "/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7r"}
Precondition Failed - The If-Match ETag does not match the current resource version
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/20412","title": "Precondition failed","status": 412,"code": 20412,"detail": "The resource has been modified since the provided ETag. Retrieve the latest version and retry.","instance": "/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7r"}
Too Many Requests - Rate limit exceeded
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/20429","title": "Rate limit exceeded","status": 429,"code": 20429,"detail": "Too many requests. Please retry after 30 seconds.","instance": "/preview/Cohorts"}
Internal Server Error - An unexpected error occurred
Optional
A URI reference (RFC3986) that identifies the problem type. For Twilio
errors, this is always https://www.twilio.com/docs/api/errors/{code}.
https://www.twilio.com/docs/api/errors/24000Max length: 500Optional
A short, human-readable summary of the problem type. SHOULD NOT change from occurrence to occurrence except for purposes of localization.
Invalid parameter valueMin length: 16Max length: 128Optional
The HTTP status code generated by the origin server for this occurrence of the problem. MUST match the HTTP status code returned in the response.
400Optional
Twilio-specific error code (extension member per RFC-9457 Section 3.2). Numeric code uniquely identifying the error type within Twilio's error taxonomy. Registered at https://www.twilio.com/docs/api/errors.
24000Optional
A human-readable explanation specific to this occurrence of the problem. May vary between occurrences of the same problem type.
The 'name' parameter is required but was not provided.Min length: 16Max length: 1024Optional
A URI reference identifying the specific occurrence of the problem; typically the request path.
/preview/Cohorts/cmp_cohort_01h9d8r0vte3hz8tykdj329t7rMax length: 500Optional
Array of field-level errors for HTTP 400/422 responses. Each entry identifies a single failure with a JSON Pointer to its location.
When more than 50 field errors would be emitted, the array is truncated to 50 entries and the 50th entry's detail describes the truncation.
[{"detail":"displayName is required and must be a non-empty value","pointer":"#/displayName"},{"detail":"criteria is required and must be a non-empty value","pointer":"#/criteria"}]Max items: 50Optional
A human-readable explanation of this field-level error.
displayName is required and must be a non-empty valueMin length: 16Max length: 1024Optional
RFC 6901 JSON Pointer to the location of the error. This API uses these prefixes:
- Request body field:
#/<field> - Query parameter:
#/query/<name> - Path parameter:
#/path/<name> - Request header:
#/headers/<name> - Root / unknown: #/ Array indices use digits (e.g. #/tags/0/key). Property names containing '~' or '/' are escaped per RFC 6901 (~0 and ~1).
#/displayNameMax length: 500{"type": "https://www.twilio.com/docs/api/errors/20500","title": "Internal server error","status": 500,"code": 20500,"detail": "An unexpected error occurred while processing your request. Please try again later."}