Create an XLM revoke sponsorship request
This endpoint creates an XLM revoke sponsorship request. Required role: RequestCreator. This API can be made idempotent by generating an ID for the Request beforehand and passing it as the externalRequestId attribute
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Creates an XLM Revoke Sponsorship Request. If toAddressId or toWhitelistedAddressIdis set, only one betweendataName, assetIDandofferIDcan be set. If not,claimableBalanceID` shall be set.
fromAddressId
toAddressId
A destination should be specified. Either toAddressId or toWhitelistedAddressId.
toWhitelistedAddressId
A destination should be specified. Either toAddressId or toWhitelistedAddressId.
destinationAddressMemo
A memo can be specified if the destination is a whitelisted address on a blockchain supporting memos.
claimableBalanceID
dataName
currencyID
Taurus-PROTECT Currency ID of the Whitelisted Contract Asset representing the XLM Asset for which the trustline is being revoked.
feeLimit
comment
externalRequestId
Identifier for the request in the user's system. This must be unique. Attempting to create a request with an existing externalRequestId will do nothing and return the originally created request
sponsoredByAddressId
If set, is the ID of the address who will sponsor the cost of the operation on the minimum balance of the source address
feePayerId
If set, the id of an XLM fee payer that will wrap this operation in a CAP-15 fee-bump. Inner tx fee is set to 0.
Response
A successful response.
result
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error