{"_id":"545292b7b7fa011600a75b9f","project":"542dbe0ecb19820800c1f4d7","editedParams":true,"editedParams2":true,"version":{"_id":"542ecc0a6b0eb6080066ca77","forked_from":"542dbe0fcb19820800c1f4da","project":"542dbe0ecb19820800c1f4d7","__v":31,"createdAt":"2014-10-03T16:17:14.165Z","releaseDate":"2014-10-03T16:17:14.165Z","categories":["542ecc0a6b0eb6080066ca78","542ef44f6b0eb6080066cb24","543bf3e22a30961a00b66eb3","5446952b82bd7e08002768a0","544821ae8d7af31a00dd41ce","544a7885f1aefa08006efc69","544c758e11845f0e001ed8de","544e5565b80812080035be55","544e558dbd51b9080037f8ca","5450b045a66f020800dba73d","5450eb6aa66f020800dba945","5450f39ea66f020800dba989","5450f877a66f020800dba9cf","54510356a66f020800dbaa17","5451274514af501a00b50c99","54513345a66f020800dbab24","54513cc014af501a00b50d24","54515eec14af501a00b50db9","54519b1d14af501a00b50ea9","54519b2aa66f020800dbacb4","54524f9704160008005b1d27","54538d2308d1800800473d95","54538d420c09721000a06a03","54538e5608d1800800473d9a","5453ea9547c30114004fb375","5453eb12b077c31c00067bcb","5453eb27b077c31c00067bcd","5453ed5db077c31c00067bde","548075cbe291c51a00e7e096","5922fa475c48c70f00f21453","59244fd41e32eb190028ad8d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"user":"543ab20e48cf1f0800e11ee7","parentDoc":null,"__v":5,"category":{"_id":"54515eec14af501a00b50db9","project":"542dbe0ecb19820800c1f4d7","__v":6,"pages":["54515edc14af501a00b50db7","545189db14af501a00b50e54","54517ea7a66f020800dbac36","545184faa66f020800dbac4d","54519946a66f020800dbaca8"],"version":"542ecc0a6b0eb6080066ca77","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-29T21:41:00.904Z","from_sync":false,"order":11,"slug":"sip-domains","title":"SIP Domains"},"is_link":false,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-30T19:34:15.217Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"try":true,"examples":{"codes":[]},"results":{"codes":[{"status":200,"name":"","code":"{\n  \"subresource_uris\": {\n    \"credentials\": \"/v2/Accounts/{AccountSid}/SIP/CredentialLists/{CLSid}/Credentials\"\n  },\n  \"sid\": \"{CLSid}\",\n  \"date_updated\": \"Thu, 30 Oct 2014 19:40:07 -0000\",\n  \"date_created\": \"Thu, 30 Oct 2014 19:40:07 -0000\",\n  \"credentials_count\": 0,\n  \"friendly_name\": \"Test List\",\n  \"uri\": \"/v2/Accounts/{AccountSid}/SIP/CredentialLists\",\n  \"account_sid\": \"{AccountSid}\"\n}","language":"json"},{"language":"json","status":404,"name":"","code":"{\n    \"status\": 404,\n    \"message\": \"The requested resource was not found: /v2/Accounts/bad/bad_response.json\"\n}"}]},"settings":"","basic_auth":true,"method":"post","auth":"required","params":[{"_id":"54529351b7fa011600a75ba4","ref":"","in":"path","required":true,"desc":"Account SID.","default":"","type":"string","name":"AccountSid"},{"_id":"54529351b7fa011600a75ba3","ref":"","in":"path","required":true,"desc":"Domain SID.","default":"","type":"string","name":"DomainSid"},{"_id":"54529351b7fa011600a75ba2","ref":"","in":"body","required":true,"desc":"The SID of the credential list that you wish to associate with this domain.","default":"","type":"string","name":"CredentialListSid"}],"url":"/v2/Accounts/:AccountSid/SIP/Domains/:DomainSid/CredentialListMappings.json"},"isReference":false,"order":6,"body":"# **Response Parameters**\n\nResponse parameters are equal to those on [\"View Credentials List\" API call](/v2/docs/view-credentials-list).\n\n# **Example cURL**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X POST 'https://api.zang.io/v2/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json' -u '{AccountSid}:{AuthToken}' -d 'CredentialListSid={CLSid}'\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","excerpt":"maps credentials list to a SIP domain","slug":"map-credentials-list","type":"endpoint","title":"Map Credentials List"}

postMap Credentials List

maps credentials list to a SIP domain

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

AccountSid:
required
string
Account SID.
DomainSid:
required
string
Domain SID.

Body Params

CredentialListSid:
required
string
The SID of the credential list that you wish to associate with this domain.

Result Format


Documentation

# **Response Parameters** Response parameters are equal to those on ["View Credentials List" API call](/v2/docs/view-credentials-list). # **Example cURL** [block:code] { "codes": [ { "code": "curl -X POST 'https://api.zang.io/v2/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json' -u '{AccountSid}:{AuthToken}' -d 'CredentialListSid={CLSid}'", "language": "shell" } ] } [/block]