UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 167 kB
{"openapi":"3.0.1","servers":[{"url":"https://preview.twilio.com"}],"info":{"contact":{"email":"support@twilio.com","name":"Twilio Support","url":"https://support.twilio.com"},"description":"This is the public Twilio REST API.","license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"https://www.twilio.com/legal/tos","title":"Twilio - Preview","version":"1.55.0","x-apisguru-categories":["telecom","messaging"],"x-logo":{"url":"https://static1.twilio.com/marketing/bundles/marketing/img/logos/wordmark-red.svg"},"x-origin":[{"format":"openapi","url":"https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_preview.json","version":"3.0"}],"x-providerName":"twilio.com","x-serviceName":"twilio_preview"},"tags":[{"name":"PreviewDeployedDevicesCertificate"},{"name":"PreviewDeployedDevicesDeployment"},{"name":"PreviewDeployedDevicesDevice"},{"name":"PreviewDeployedDevicesFleet"},{"name":"PreviewDeployedDevicesKey"},{"name":"PreviewHostedNumbersAuthorizationDocument"},{"name":"PreviewHostedNumbersDependentHostedNumberOrder"},{"name":"PreviewHostedNumbersHostedNumberOrder"},{"name":"PreviewMarketplaceAvailableAddOn"},{"name":"PreviewMarketplaceAvailableAddOnExtension"},{"name":"PreviewMarketplaceInstalledAddOn"},{"name":"PreviewMarketplaceInstalledAddOnExtension"},{"name":"PreviewSyncDocument"},{"name":"PreviewSyncDocumentPermission"},{"name":"PreviewSyncService"},{"name":"PreviewSyncSyncList"},{"name":"PreviewSyncSyncListItem"},{"name":"PreviewSyncSyncListPermission"},{"name":"PreviewSyncSyncMap"},{"name":"PreviewSyncSyncMapItem"},{"name":"PreviewSyncSyncMapPermission"},{"name":"PreviewWirelessCommand"},{"name":"PreviewWirelessRatePlan"},{"name":"PreviewWirelessSim"},{"name":"PreviewWirelessUsage"}],"paths":{"/DeployedDevices/Fleets":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of all Fleets belonging to your account.","operationId":"ListDeployedDevicesFleet","parameters":[{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"fleets":{"items":{"$ref":"#/components/schemas/preview.deployed_devices.fleet"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListDeployedDevicesFleetResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesFleet"],"x-maturity":["Preview"]},"post":{"description":"Create a new Fleet for scoping of deployed devices within your account.","operationId":"CreateDeployedDevicesFleet","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"FriendlyName":{"description":"Provides a human readable descriptive text for this Fleet, up to 256 characters long.","type":"string"}},"title":"CreateDeployedDevicesFleetRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesFleet"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"dependentProperties":{"certificates":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Certificates"},"deployments":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Deployments"},"devices":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Devices"},"keys":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Keys"}},"pathType":"list"}},"/DeployedDevices/Fleets/{FleetSid}/Certificates":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of all Certificate credentials belonging to the Fleet.","operationId":"ListDeployedDevicesCertificate","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Filters the resulting list of Certificates by a unique string identifier of an authenticated Device.","in":"query","name":"DeviceSid","schema":{"maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"certificates":{"items":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.certificate"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListDeployedDevicesCertificateResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesCertificate"],"x-maturity":["Preview"]},"post":{"description":"Enroll a new Certificate credential to the Fleet, optionally giving it a friendly name and assigning to a Device.","operationId":"CreateDeployedDevicesCertificate","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"CertificateData":{"description":"Provides a URL encoded representation of the public certificate in PEM format.","type":"string"},"DeviceSid":{"description":"Provides the unique string identifier of an existing Device to become authenticated with this Certificate credential.","maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"},"FriendlyName":{"description":"Provides a human readable descriptive text for this Certificate credential, up to 256 characters long.","type":"string"}},"required":["CertificateData"],"title":"CreateDeployedDevicesCertificateRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.certificate"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesCertificate"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"list"}},"/DeployedDevices/Fleets/{FleetSid}/Certificates/{Sid}":{"delete":{"description":"Unregister a specific Certificate credential from the Fleet, effectively disallowing any inbound client connections that are presenting it.","operationId":"DeleteDeployedDevicesCertificate","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Certificate credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CY[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesCertificate"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"Fetch information about a specific Certificate credential in the Fleet.","operationId":"FetchDeployedDevicesCertificate","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Certificate credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CY[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.certificate"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesCertificate"],"x-maturity":["Preview"]},"post":{"description":"Update the given properties of a specific Certificate credential in the Fleet, giving it a friendly name or assigning to a Device.","operationId":"UpdateDeployedDevicesCertificate","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Certificate credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CY[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DeviceSid":{"description":"Provides the unique string identifier of an existing Device to become authenticated with this Certificate credential.","maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"},"FriendlyName":{"description":"Provides a human readable descriptive text for this Certificate credential, up to 256 characters long.","type":"string"}},"title":"UpdateDeployedDevicesCertificateRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.certificate"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesCertificate"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"instance"}},"/DeployedDevices/Fleets/{FleetSid}/Deployments":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of all Deployments belonging to the Fleet.","operationId":"ListDeployedDevicesDeployment","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"deployments":{"items":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.deployment"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListDeployedDevicesDeploymentResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDeployment"],"x-maturity":["Preview"]},"post":{"description":"Create a new Deployment in the Fleet, optionally giving it a friendly name and linking to a specific Twilio Sync service instance.","operationId":"CreateDeployedDevicesDeployment","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"FriendlyName":{"description":"Provides a human readable descriptive text for this Deployment, up to 256 characters long.","type":"string"},"SyncServiceSid":{"description":"Provides the unique string identifier of the Twilio Sync service instance that will be linked to and accessible by this Deployment.","maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},"title":"CreateDeployedDevicesDeploymentRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.deployment"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDeployment"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"list"}},"/DeployedDevices/Fleets/{FleetSid}/Deployments/{Sid}":{"delete":{"description":"Delete a specific Deployment from the Fleet, leaving associated devices effectively undeployed.","operationId":"DeleteDeployedDevicesDeployment","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Deployment resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDeployment"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"Fetch information about a specific Deployment in the Fleet.","operationId":"FetchDeployedDevicesDeployment","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Deployment resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.deployment"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDeployment"],"x-maturity":["Preview"]},"post":{"description":"Update the given properties of a specific Deployment credential in the Fleet, giving it a friendly name or linking to a specific Twilio Sync service instance.","operationId":"UpdateDeployedDevicesDeployment","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Deployment resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"FriendlyName":{"description":"Provides a human readable descriptive text for this Deployment, up to 64 characters long","type":"string"},"SyncServiceSid":{"description":"Provides the unique string identifier of the Twilio Sync service instance that will be linked to and accessible by this Deployment.","maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},"title":"UpdateDeployedDevicesDeploymentRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.deployment"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDeployment"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"instance"}},"/DeployedDevices/Fleets/{FleetSid}/Devices":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of all Devices belonging to the Fleet.","operationId":"ListDeployedDevicesDevice","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Filters the resulting list of Devices by a unique string identifier of the Deployment they are associated with.","in":"query","name":"DeploymentSid","schema":{"maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"devices":{"items":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.device"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListDeployedDevicesDeviceResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDevice"],"x-maturity":["Preview"]},"post":{"description":"Create a new Device in the Fleet, optionally giving it a unique name, friendly name, and assigning to a Deployment and/or human identity.","operationId":"CreateDeployedDevicesDevice","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DeploymentSid":{"description":"Specifies the unique string identifier of the Deployment group that this Device is going to be associated with.","maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"},"Enabled":{"description":"","type":"boolean"},"FriendlyName":{"description":"Provides a human readable descriptive text to be assigned to this Device, up to 256 characters long.","type":"string"},"Identity":{"description":"Provides an arbitrary string identifier representing a human user to be associated with this Device, up to 256 characters long.","type":"string"},"UniqueName":{"description":"Provides a unique and addressable name to be assigned to this Device, to be used in addition to SID, up to 128 characters long.","type":"string"}},"title":"CreateDeployedDevicesDeviceRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.device"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDevice"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"list"}},"/DeployedDevices/Fleets/{FleetSid}/Devices/{Sid}":{"delete":{"description":"Delete a specific Device from the Fleet, also removing it from associated Deployments.","operationId":"DeleteDeployedDevicesDevice","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Device resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDevice"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"Fetch information about a specific Device in the Fleet.","operationId":"FetchDeployedDevicesDevice","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Device resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.device"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDevice"],"x-maturity":["Preview"]},"post":{"description":"Update the given properties of a specific Device in the Fleet, giving it a friendly name, assigning to a Deployment, or a human identity.","operationId":"UpdateDeployedDevicesDevice","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Device resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DeploymentSid":{"description":"Specifies the unique string identifier of the Deployment group that this Device is going to be associated with.","maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"},"Enabled":{"description":"","type":"boolean"},"FriendlyName":{"description":"Provides a human readable descriptive text to be assigned to this Device, up to 256 characters long.","type":"string"},"Identity":{"description":"Provides an arbitrary string identifier representing a human user to be associated with this Device, up to 256 characters long.","type":"string"}},"title":"UpdateDeployedDevicesDeviceRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.device"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesDevice"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"instance"}},"/DeployedDevices/Fleets/{FleetSid}/Keys":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of all Keys credentials belonging to the Fleet.","operationId":"ListDeployedDevicesKey","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Filters the resulting list of Keys by a unique string identifier of an authenticated Device.","in":"query","name":"DeviceSid","schema":{"maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"keys":{"items":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.key"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListDeployedDevicesKeyResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesKey"],"x-maturity":["Preview"]},"post":{"description":"Create a new Key credential in the Fleet, optionally giving it a friendly name and assigning to a Device.","operationId":"CreateDeployedDevicesKey","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DeviceSid":{"description":"Provides the unique string identifier of an existing Device to become authenticated with this Key credential.","maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"},"FriendlyName":{"description":"Provides a human readable descriptive text for this Key credential, up to 256 characters long.","type":"string"}},"title":"CreateDeployedDevicesKeyRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.key"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesKey"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"list"}},"/DeployedDevices/Fleets/{FleetSid}/Keys/{Sid}":{"delete":{"description":"Delete a specific Key credential from the Fleet, effectively disallowing any inbound client connections that are presenting it.","operationId":"DeleteDeployedDevicesKey","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Key credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^KY[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesKey"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"Fetch information about a specific Key credential in the Fleet.","operationId":"FetchDeployedDevicesKey","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Key credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^KY[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.key"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesKey"],"x-maturity":["Preview"]},"post":{"description":"Update the given properties of a specific Key credential in the Fleet, giving it a friendly name or assigning to a Device.","operationId":"UpdateDeployedDevicesKey","parameters":[{"description":"","in":"path","name":"FleetSid","required":true,"schema":{"type":"string"}},{"description":"Provides a 34 character string that uniquely identifies the requested Key credential resource.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^KY[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DeviceSid":{"description":"Provides the unique string identifier of an existing Device to become authenticated with this Key credential.","maxLength":34,"minLength":34,"pattern":"^TH[0-9a-fA-F]{32}$","type":"string"},"FriendlyName":{"description":"Provides a human readable descriptive text for this Key credential, up to 256 characters long.","type":"string"}},"title":"UpdateDeployedDevicesKeyRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet.key"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesKey"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/Fleets/{Sid}","pathType":"instance"}},"/DeployedDevices/Fleets/{Sid}":{"delete":{"description":"Delete a specific Fleet from your account, also destroys all nested resources: Devices, Deployments, Certificates, Keys.","operationId":"DeleteDeployedDevicesFleet","parameters":[{"description":"Provides a 34 character string that uniquely identifies the requested Fleet resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesFleet"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"Fetch information about a specific Fleet in your account.","operationId":"FetchDeployedDevicesFleet","parameters":[{"description":"Provides a 34 character string that uniquely identifies the requested Fleet resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesFleet"],"x-maturity":["Preview"]},"post":{"description":"Update the friendly name property of a specific Fleet in your account.","operationId":"UpdateDeployedDevicesFleet","parameters":[{"description":"Provides a 34 character string that uniquely identifies the requested Fleet resource.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"DefaultDeploymentSid":{"description":"Provides a string identifier of a Deployment that is going to be used as a default one for this Fleet.","maxLength":34,"minLength":34,"pattern":"^DL[0-9a-fA-F]{32}$","type":"string"},"FriendlyName":{"description":"Provides a human readable descriptive text for this Fleet, up to 256 characters long.","type":"string"}},"title":"UpdateDeployedDevicesFleetRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.deployed_devices.fleet"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewDeployedDevicesFleet"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"dependentProperties":{"certificates":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Certificates"},"deployments":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Deployments"},"devices":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Devices"},"keys":{"mapping":{"fleet_sid":"sid"},"resource_url":"/DeployedDevices/Fleets/{fleet_sid}/Keys"}},"pathType":"instance"}},"/HostedNumbers/AuthorizationDocuments":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of AuthorizationDocuments belonging to the account initiating the request.","operationId":"ListHostedNumbersAuthorizationDocument","parameters":[{"description":"Email that this AuthorizationDocument will be sent to for signing.","in":"query","name":"Email","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.","in":"query","name":"Status","schema":{"$ref":"#/components/schemas/authorization_document_enum_status","type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/preview.hosted_numbers.authorization_document"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListHostedNumbersAuthorizationDocumentResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersAuthorizationDocument"],"x-maturity":["Preview"]},"post":{"description":"Create an AuthorizationDocument for authorizing the hosting of phone number capabilities on Twilio's platform.","operationId":"CreateHostedNumbersAuthorizationDocument","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AddressSid":{"description":"A 34 character string that uniquely identifies the Address resource that is associated with this AuthorizationDocument.","maxLength":34,"minLength":34,"pattern":"^AD[0-9a-fA-F]{32}$","type":"string"},"CcEmails":{"description":"Email recipients who will be informed when an Authorization Document has been sent and signed.","items":{"type":"string"},"type":"array"},"ContactPhoneNumber":{"description":"The contact phone number of the person authorized to sign the Authorization Document.","type":"string"},"ContactTitle":{"description":"The title of the person authorized to sign the Authorization Document for this phone number.","type":"string"},"Email":{"description":"Email that this AuthorizationDocument will be sent to for signing.","type":"string"},"HostedNumberOrderSids":{"description":"A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio's platform.","items":{"type":"string"},"type":"array"}},"required":["HostedNumberOrderSids","AddressSid","Email","ContactTitle","ContactPhoneNumber"],"title":"CreateHostedNumbersAuthorizationDocumentRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.hosted_numbers.authorization_document"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersAuthorizationDocument"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"dependentProperties":{"dependent_hosted_number_orders":{"mapping":{"signing_document_sid":"sid"},"resource_url":"/HostedNumbers/AuthorizationDocuments/{signing_document_sid}/DependentHostedNumberOrders"}},"pathType":"list"}},"/HostedNumbers/AuthorizationDocuments/{Sid}":{"description":"TODO: Resource-level docs","get":{"description":"Fetch a specific AuthorizationDocument.","operationId":"FetchHostedNumbersAuthorizationDocument","parameters":[{"description":"A 34 character string that uniquely identifies this AuthorizationDocument.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^PX[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.hosted_numbers.authorization_document"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersAuthorizationDocument"],"x-maturity":["Preview"]},"post":{"description":"Updates a specific AuthorizationDocument.","operationId":"UpdateHostedNumbersAuthorizationDocument","parameters":[{"description":"A 34 character string that uniquely identifies this AuthorizationDocument.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^PX[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AddressSid":{"description":"A 34 character string that uniquely identifies the Address resource that is associated with this AuthorizationDocument.","maxLength":34,"minLength":34,"pattern":"^AD[0-9a-fA-F]{32}$","type":"string"},"CcEmails":{"description":"Email recipients who will be informed when an Authorization Document has been sent and signed","items":{"type":"string"},"type":"array"},"ContactPhoneNumber":{"description":"The contact phone number of the person authorized to sign the Authorization Document.","type":"string"},"ContactTitle":{"description":"The title of the person authorized to sign the Authorization Document for this phone number.","type":"string"},"Email":{"description":"Email that this AuthorizationDocument will be sent to for signing.","type":"string"},"HostedNumberOrderSids":{"description":"A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio's platform.","items":{"type":"string"},"type":"array"},"Status":{"$ref":"#/components/schemas/authorization_document_enum_status","description":"Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.","type":"string"}},"title":"UpdateHostedNumbersAuthorizationDocumentRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.hosted_numbers.authorization_document"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersAuthorizationDocument"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"dependentProperties":{"dependent_hosted_number_orders":{"mapping":{"signing_document_sid":"sid"},"resource_url":"/HostedNumbers/AuthorizationDocuments/{signing_document_sid}/DependentHostedNumberOrders"}},"pathType":"instance"}},"/HostedNumbers/AuthorizationDocuments/{SigningDocumentSid}/DependentHostedNumberOrders":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of dependent HostedNumberOrders belonging to the AuthorizationDocument.","operationId":"ListHostedNumbersDependentHostedNumberOrder","parameters":[{"description":"A 34 character string that uniquely identifies the LOA document associated with this HostedNumberOrder.","in":"path","name":"SigningDocumentSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^PX[0-9a-fA-F]{32}$","type":"string"}},{"description":"Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.","in":"query","name":"Status","schema":{"$ref":"#/components/schemas/dependent_hosted_number_order_enum_status","type":"string"}},{"description":"An E164 formatted phone number hosted by this HostedNumberOrder.","in":"query","name":"PhoneNumber","schema":{"format":"phone-number","type":"string"}},{"description":"A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.","in":"query","name":"IncomingPhoneNumberSid","schema":{"maxLength":34,"minLength":34,"pattern":"^PN[0-9a-fA-F]{32}$","type":"string"}},{"description":"A human readable description of this resource, up to 64 characters.","in":"query","name":"FriendlyName","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"Provides a unique and addressable name to be assigned to this HostedNumberOrder, assigned by the developer, to be optionally used in addition to SID.","in":"query","name":"UniqueName","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/preview.hosted_numbers.authorization_document.dependent_hosted_number_order"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListHostedNumbersDependentHostedNumberOrderResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersDependentHostedNumberOrder"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"parent":"/AuthorizationDocuments/{Sid}","pathType":"list"}},"/HostedNumbers/HostedNumberOrders":{"description":"TODO: Resource-level docs","get":{"description":"Retrieve a list of HostedNumberOrders belonging to the account initiating the request.","operationId":"ListHostedNumbersHostedNumberOrder","parameters":[{"description":"The Status of this HostedNumberOrder. One of `received`, `pending-verification`, `verified`, `pending-loa`, `carrier-processing`, `testing`, `completed`, `failed`, or `action-required`.","in":"query","name":"Status","schema":{"$ref":"#/components/schemas/hosted_number_order_enum_status","type":"string"}},{"description":"An E164 formatted phone number hosted by this HostedNumberOrder.","in":"query","name":"PhoneNumber","schema":{"format":"phone-number","type":"string"}},{"description":"A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.","in":"query","name":"IncomingPhoneNumberSid","schema":{"maxLength":34,"minLength":34,"pattern":"^PN[0-9a-fA-F]{32}$","type":"string"}},{"description":"A human readable description of this resource, up to 64 characters.","in":"query","name":"FriendlyName","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"Provides a unique and addressable name to be assigned to this HostedNumberOrder, assigned by the developer, to be optionally used in addition to SID.","in":"query","name":"UniqueName","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"items":{"items":{"$ref":"#/components/schemas/preview.hosted_numbers.hosted_number_order"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListHostedNumbersHostedNumberOrderResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersHostedNumberOrder"],"x-maturity":["Preview"]},"post":{"description":"Host a phone number's capability on Twilio's platform.","operationId":"CreateHostedNumbersHostedNumberOrder","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AccountSid":{"description":"This defaults to the AccountSid of the authorization the user is using. This can be provided to specify a subaccount to add the HostedNumberOrder to.","maxLength":34,"minLength":34,"pattern":"^AC[0-9a-fA-F]{32}$","type":"string"},"AddressSid":{"description":"Optional. A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number.","maxLength":34,"minLength":34,"pattern":"^AD[0-9a-fA-F]{32}$","type":"string"},"CcEmails":{"description":"Optional. A list of emails that the LOA document for this HostedNumberOrder will be carbon copied to.","items":{"type":"string"},"type":"array"},"Email":{"description":"Optional. Email of the owner of this phone number that is being hosted.","type":"string"},"FriendlyName":{"description":"A 64 character string that is a human readable text that describes this resource.","type":"string"},"PhoneNumber":{"description":"The number to host in [+E.164](https://en.wikipedia.org/wiki/E.164) format","format":"phone-number","type":"string"},"SmsApplicationSid":{"description":"Optional. The 34 character sid of the application Twilio should use to handle SMS messages sent to this number. If a `SmsApplicationSid` is present, Twilio will ignore all of the SMS urls above and use those set on the application.","maxLength":34,"minLength":34,"pattern":"^AP[0-9a-fA-F]{32}$","type":"string"},"SmsCapability":{"description":"Used to specify that the SMS capability will be hosted on Twilio's platform.","type":"boolean"},"SmsFallbackMethod":{"description":"The HTTP method that should be used to request the SmsFallbackUrl. Must be either `GET` or `POST`. This will be copied onto the IncomingPhoneNumber resource.","enum":["HEAD","GET","POST","PATCH","PUT","DELETE"],"format":"http-method","type":"string"},"SmsFallbackUrl":{"description":"A URL that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl. This will be copied onto the IncomingPhoneNumber resource.","format":"uri","type":"string"},"SmsMethod":{"description":"The HTTP method that should be used to request the SmsUrl. Must be either `GET` or `POST`. This will be copied onto the IncomingPhoneNumber resource.","enum":["HEAD","GET","POST","PATCH","PUT","DELETE"],"format":"http-method","type":"string"},"SmsUrl":{"description":"The URL that Twilio should request when somebody sends an SMS to the phone number. This will be copied onto the IncomingPhoneNumber resource.","format":"uri","type":"string"},"StatusCallbackMethod":{"description":"Optional. The Status Callback Method attached to the IncomingPhoneNumber resource.","enum":["HEAD","GET","POST","PATCH","PUT","DELETE"],"format":"http-method","type":"string"},"StatusCallbackUrl":{"description":"Optional. The Status Callback URL attached to the IncomingPhoneNumber resource.","format":"uri","type":"string"},"UniqueName":{"description":"Optional. Provides a unique and addressable name to be assigned to this HostedNumberOrder, assigned by the developer, to be optionally used in addition to SID.","type":"string"},"VerificationDocumentSid":{"description":"Optional. The unique sid identifier of the Identity Document that represents the document for verifying ownership of the number to be hosted. Required when VerificationType is phone-bill.","maxLength":34,"minLength":34,"pattern":"^RI[0-9a-fA-F]{32}$","type":"string"},"VerificationType":{"$ref":"#/components/schemas/hosted_number_order_enum_verification_type","description":"Optional. The method used for verifying ownership of the number to be hosted. One of phone-call (default) or phone-bill.","type":"string"}},"required":["PhoneNumber","SmsCapability"],"title":"CreateHostedNumbersHostedNumberOrderRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview.hosted_numbers.hosted_number_order"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["PreviewHostedNumbersHostedNumberOrder"],"x-maturity":["Preview"]},"servers":[{"url":"https://preview.twilio.com"}],"x-twilio":{"defaultOutputProperties":[],"pathType":"list"}},"/HostedNumbers/HostedNumberOrders/{Sid}":{"delete":{"description":"Cancel the HostedNumberOrder (only available when the status is in `received`).","operationId":"DeleteHostedNumbersHostedNumberOrder","parameters":[{"description":"A 34 character string that uniquely identifies this HostedNumberOrder.","in":"path","na