{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/9d37d008417d562ab46d4b67547a68457ce288d2/1c5aeeec-4882-398f-a870-38681aa1c52d","info":{"title":"Cisco Umbrella Service Providers Console API","version":"2.0.0","description":"Configure the Service Providers console.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Cnames"},{"name":"Contacts"},{"name":"Logos"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/admin/service-providers-console-overview.md","uri":"umbrella-api-reference-service-providers-console-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.umbrella.com/{basePath}","variables":{"basePath":{"default":"admin/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"The client credential flow.","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrella.com/auth/v2/token","scopes":{"admin.config:read":"Read admin config","admin.config:write":"Write admin config"}}}}}},"spec":{"type":"object","description":"Add the customer's contact information.","required":["contactType","emailAddress"],"properties":{"contactType":{"type":"string","description":"The type of contact.","enum":["billing","blockfeedback","report","serviceupdate","support","distributor"],"example":"billing"},"primaryContact":{"type":"string","description":"Specify whether the contact is the primary contact.","enum":["no","yes"],"default":"no","example":"yes"},"firstName":{"type":"string","description":"The first name of the contact.","example":"my-firstname"},"lastName":{"type":"string","description":"The last name of the contact.","example":"my-lastname"},"streetAddress":{"type":"string","description":"The street address for the contact.","example":"123 Circle Court"},"streetAddress2":{"type":"string","description":"A secondary street address for the contact.","example":"Center Place"},"city":{"type":"string","description":"The city where the contact is located.","example":"San Jose"},"state":{"type":"string","description":"The state where the contact is located.","example":"CA"},"zipCode":{"type":"string","description":"The US zip code where the contact is located.","example":"01938"},"countryCode":{"type":"string","description":"The country code for the contact.","example":"US","minLength":2,"maxLength":3},"phoneNumber":{"type":"string","description":"The phone number for the contact.","example":"215-339-0101"},"phoneNumber2":{"type":"string","description":"The second phone number for the contact.","example":"215-339-0101"},"faxNumber":{"type":"string","description":"The fax number for the contact.","example":"215-339-0101"},"emailAddress":{"type":"string","description":"The email address for the contact.","example":"my-contact@cisco.com"},"settings":{"type":"object","description":"The contact information of the distributor.","required":["organization","distributorVisibility"],"properties":{"primaryContact":{"type":"object","properties":{"firstName":{"type":"string","description":"The first name of the distributor contact.","example":"my-firstname"},"lastName":{"type":"string","description":"The last name of the distributor contact.","example":"my-lastname"},"emailAddress":{"type":"string","description":"Email address for the distributor contact.","example":"my-contact@cisco.com"},"phoneNumber":{"type":"string","description":"The phone number for the distributor contact.","example":"215-339-0101"}}},"organization":{"type":"object","description":"The properties of the organization.","required":["name","email"],"properties":{"name":{"type":"string","description":"The organization name of distributor.","example":"Cisco Systems"},"email":{"type":"string","description":"The organization email of distributor.","example":"test@cisco.com"}}},"distributorVisibility":{"type":"boolean","description":"Specify whether primary contact has visibility into trials.","default":false,"example":true}},"example":{"organization":{"name":"Cisco Systems","email":"name@cisco.com"},"distributorVisibility":true}}},"example":{"contactType":"billing","emailAddress":"seller@cisco.com"},"$$ref":"#/components/schemas/CreateContact","title":"CreateContact"}}