Skip to main content
POST
Return a borrowed account

Authorizations

Authorization
string
header
required

Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of return_account_share.

sid
string

Single-share mode. Mutually exclusive with filter.

Required string length: 18
Pattern: ^ac_sh_
filter
object

Mass-target mode, resolved against the loans you RECEIVED. status is overwritten with eq active server side. Mutually exclusive with sid.

confirmation_count
integer

Blast-radius confirmation, REQUIRED with filter and ignored with sid. Must equal the active-pinned pagination.total_count of the same filter from list_received_account_shares.

Required range: x >= 0

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required
result
object
required
meta
object
required
credits
object