---
title: "/trade/accounts/deauthorize"
method: PUT
path: "/api/v1/trade/accounts/deauthorize"
tags: ["Trade"]
---

# /trade/accounts/deauthorize

`PUT /api/v1/trade/accounts/deauthorize`

Deauthorizes an account to trade, perform liquidations and more, on behalf of another account.

## Request body

- AccountAuthorizationRequest
  - `signedFields` object, required
    - `accountAddress` string, required — The account address of the parent account that is authorizing/deauthorizing this account
    - `authorizedAccountAddress` string, required — The address of the account that should be authorized/deauthorized
    - `salt` string, required — The random generated salt. Should always be a number
    - `idsId` string, required — the ID of the internal datastore for the target network
    - `signedAtMillis` integer, required — The timestamp when the request was signed
  - `signature` string, required — The signature of the request, encoded from the signedFields
  - `alias` string — The (optional) alias of the account that is being authorized or deauthorized

## Response `202`

Deauthorize Account request submitted successfully

## Other responses

- `400` — Bad Request. The request was invalid or malformed.
- `401` — Unauthorized. Authentication is required or invalid. Signature is invalid
- `500` — Internal Server Error. An unexpected error occurred on the server.
- `503` — Service Unavailable. The service is currently unavailable.

---

[API](https://skmtc.net/bluefin/apis/bluefin-trade-api.md) · [All operations](https://skmtc.net/bluefin/apis/bluefin-trade-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluefin/bluefin-trade-api/versions/de8d6d7f39d7/schema)
