DevelopersAPIReferencefiles
Unassign
Removes the given ids from the file's arrays; with no ids given, clears all three arrays (legacy unassignFile).
Authorization
bearerAuth Authorization<token>
A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.
In: header
Path Parameters
walletId*string
Row uuid
Format
uuidid*string
Row uuid
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/unassign" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480", "firestoreId": "string", "transactionIds": [ "390bdf4e-83f8-4d97-9b70-6548dddef7ab" ], "cryptoTransactionIds": [ "c16ecae0-d5ad-4bad-b2d4-6d2e923da4b9" ], "securityTransactionIds": [ "c24f3ed0-61ed-4cb8-bf61-f9d71e009e82" ], "filename": "string", "fileExtension": "string", "size": -2147483648, "storagePath": "string", "parseStatus": "open", "parseData": "string", "createdTime": "2019-08-24T14:15:22Z", "createdUserId": "string", "lastUpdatedTime": "2019-08-24T14:15:22Z", "lastUpdatedUserId": "string"}