Call Blocking Rules
Update blocking rule
Changed onUpdate the call blocking rule by the specified ID.
put/v1/projects/{projectId}/callBlockingRules/{id}
Request
- Base URLhttps://elastic-trunking.api.sinch.com
- URLhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/callBlockingRules/{id}
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Path parameters
projectIdstring required
Example:3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47
The projectId is a required parameter you must include when making any API calls. You can find your project ID on your Build dashboard.
idstring required
Example:01KG5BN8Z0HSR2P9GM3K9YA8RE
The ID of the call blocking rule to update.
Request body
Example request
{
"name": "My Call Block Rule",
"direction": "INBOUND",
"callerCountry": "US",
"calleeCountry": "CA",
"callerMatch": "123",
"calleeMatch": "456",
"id": "01KG5BN8Z0HSR2P9GM3K9YA8RE"
}Response
OK
Example response
{
"name": "My Call Block Rule",
"direction": "INBOUND",
"callerCountry": "US",
"calleeCountry": "CA",
"callerMatch": "123",
"calleeMatch": "456",
"id": "01KG5BN8Z0HSR2P9GM3K9YA8RE"
}Changes
- info
endpoint added
- info