TraitGroup
Create a Trait Group
Changed onCreates a Trait Group with declarative trait schemas for this Memory Store.
post/v1/ControlPlane/Stores/{storeId}/TraitGroups
Request
- Base URLhttps://memory.twilio.com
- URLhttps://memory.twilio.com/v1/ControlPlane/Stores/{storeId}/TraitGroups
- AuthHTTP basic
Request body
Example request
{
"displayName": "Contact",
"description": "This Trait Group contains traits related to contact information.",
"traits": {
"email": {
"dataType": "STRING",
"description": "User's email address"
},
"dob": {
"dataType": "STRING",
"description": "User's date of birth"
}
}
}Response
TraitGroup creation request accepted.
Example response
{
"message": "TraitGroup creation request accepted."
}Changes
- breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status
- breaking