Create a new Rate Limit for a Service
TODO: Resource-level docs
Create a new Rate Limit for a Service
Path parameters
-
The SID of the Service the resource is associated with.
Body
-
Description string
Description of this Rate Limit
-
Provides a unique and addressable name to be assigned to this Rate Limit, assigned by the developer, to be optionally used in addition to SID. This value should not contain PII.
POST /v2/Services/{ServiceSid}/RateLimits
curl \
-X POST https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Description=string&UniqueName=string'
Request example
{
"Description": "string",
"UniqueName": "string"
}
Request examples
{
"Description": "string",
"UniqueName": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"description": "string",
"links": {},
"service_sid": "string",
"sid": "string",
"unique_name": "string",
"url": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"description": "string",
"links": {},
"service_sid": "string",
"sid": "string",
"unique_name": "string",
"url": "https://example.com"
}