Replace the set of markets to skip for this submission
PUT
/broker/submissions/{submission_id}/market-exclusions
const url = 'https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/market-exclusions';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"excluded_market_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/market-exclusions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "excluded_market_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'Idempotent full replacement of the market ids Hedge must not
approach for this submission. Live instant-quote sessions with an
excluded market are withdrawn. Requires broker_submit.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”submission_id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
excluded_market_ids
required
Array<string>
Examplegenerated
{ "excluded_market_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Responses
Section titled “Responses”What persisted: {excluded_market_ids, withdrawn_sessions}
Not found (or not your brokerage’s)