Update the list of credential list entries for a trunk.
Security
Basic or OAuth2.0
The projectId is a required parameter you must include when making any API calls. You can find your project ID on your Build dashboard.
Example:3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47
- https://elastic-trunking.api.sinch.comhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks/{trunkId}/credentialLists
curl -i -X PUT \
-u '<username>:<password>' \
'https://elastic-trunking.api.sinch.com/v1/projects/3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47/trunks/{trunkId}/credentialLists' \
-H 'Content-Type: application/json' \
-d '[
"01GNZ9MXEZ4K6S8GB7RW063VAN",
"01GNZ9MXEZ4K6S8GB7RW063VAN"
]'Response
{ "credentialListIds": [ "01GNZ9MXEZ4K6S8GB7RW063VAN", "01GNZ9MXEZ4K6S8GB7RW063VAN" ] }
We'd love to hear from you!
Rate this content: