action callfire_update_number_lease { label: "Update a lease" description: "Updates a number lease instance. Ability to turn on/off autoRenew and toggle call/text features for a particular number" provider: callfire method: PUT path: "/numbers/leases/{number}" encoding: json input: { type: "object" properties: { autoRenew: { type: "boolean" description: "Enables the auto renewal of number lease at end of each billing cycle" } callFeatureStatus: { type: "string" description: "A status of a call feature. Available values: DISABLED, ENABLED" enum: ["UNSUPPORTED", "PENDING", "DISABLED", "ENABLED"] } labels: { type: "array" description: "~" items: { type: "string" } } leaseBegin: { type: "integer" format: "int64" description: "A date and time of a lease start. Timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000" } leaseEnd: { type: "integer" format: "int64" description: "A data and time of a lease finish. Timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000" } nationalFormat: { type: "string" description: "Formatted number with a country code" } number: { type: "string" } region: { type: "object" description: "Every local number associated with a region. You can query regions to use them in subsequent purchase requests" properties: { city: { type: "string" description: "A city of a region" } country: { type: "string" description: "A country of a region" } latitude: { type: "number" format: "float" description: "A latitude of a region" } longitude: { type: "number" format: "float" description: "A longitude of a region" } prefix: { type: "string" description: "A country prefix of a region. 4-7 digit" } state: { type: "string" description: "A two-letter state code of region" } timeZone: { type: "string" description: "A timezone of a region" } zipcode: { type: "string" description: "A five-digit zip code of a region" } } } sendEmailOnCreate: { type: "boolean" description: "~" } status: { type: "string" description: "A lease status. Available values: PENDING, ACTIVE, RELEASED, UNAVAILABLE" enum: ["PENDING", "ACTIVE", "RELEASED", "UNAVAILABLE"] } textFeatureStatus: { type: "string" description: "A status of a text feature. Available values: DISABLED, ENABLED" enum: ["UNSUPPORTED", "PENDING", "DISABLED", "ENABLED"] } tollFree: { type: "boolean" description: "A toll-free number" } type: { type: "string" description: "~" enum: ["PLAN", "EXTRA"] } } required: ["number"] additionalProperties: false } output: { type: "object" additionalProperties: true } }