rent
Toggle Login Code
Toggle receiving of login codes on Fragment for a rented anonymous number.
Use this endpoint before calling /rent/{nft_address}/login-code/ to enable login codes for the number, or to disable them once you no longer need to receive codes.
- nft_address: Address of the rented anonymous number NFT
- can_receive: 1 to enable receiving login codes, 0 to disable
Returns the new state: {"status": "ok", "can_receive": 0 | 1}.
post/v1/rent/{nft_address}/toggle-login-code/
Request
- Base URL: https://api.marketapp.ws (the document declares no server; this is the origin it was published from)
- URL: https://api.marketapp.ws/v1/rent/{nft_address}/toggle-login-code/
- Auth: API key in header Authorization
Path parameters
nft_addressstring required
Request body
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.