gethttps://onlinesim.io/api/rent/closeRentNum.php

GET /api/rent/closeRentNum.php

Close virtual phone number rent operation

This request closes the specified rent operation.

Security

OAuth2Scopes: rent-scope
rent-scope
grants access to renting phone numbers from Onlinesim

Parameters

query2
NameTypeDescription
tzid*integer
≥ 1

Operation ID

Example:10000
langstring

Response language: fr - French, de - German, ru - Russian, en - English, zh - Chinese. Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English.

Enum:frderuenzhDefault:ruExample:en

Responses

200

'Successful response for closeRentNum request: the server closes the current rental operation and returns information for it or throws an exception.'

Content-Typeapplication/json
Schema
Responseobject
responseboolean

Request execution status (if true, rental operation is closed)

Examples

Successfuly closed rent operation
{
  "response": true
}

Code Samples

Generating examples...