# revokeOperator(contract, sender, operator, partition, currency)

<table><thead><tr><th width="145">Feature</th><th>Returns raw operation that revoke the authorized operator.</th></tr></thead><tbody><tr><td>Parameters</td><td><code>string</code> contract address <code>string</code> sender, <code>string</code> operator, <code>string</code> partition, <code>string</code> currency</td></tr><tr><td>Return Value</td><td><code>object</code> revokeOperation</td></tr></tbody></table>

example

```javascript
const contractAddress = "0x41EFb6902ADcb1214a7123b01af66b1D13b89864fca";
const sender = "0x4874C17C354c498cf44D2946612DBe47fBcE7E87fca";
const operator = "0x07469989b2562afF5E5C3B116CD3AA5Ef814e5a1fca";
const partition = "ABCD";
const currencyID = "MCC";

const revokeOperation = mitum.sto.revokeOperator(contractAddress, sender, operator, partition, currencyID);
console.log(revokeOperation);

//output
Operation {
  id: 'mitum',
  fact: RevokeOperatorFact {
    hint: Hint { s: 'mitum-sto-revoke-operator-operation-fact' },
    token: Token { s: '2023-11-23 05:12:35.755 +0000 UTC' },
    _hash: <Buffer f4 ea 86 2c ea 11 eb ea 02 14 0a f0 c3 b5 e3 7e fb 90 6c cb fe b9 26 7a 8e 33 4c 8d 9a ef d5 d7>,
    sender: Address {
      s: '0x4874C17C354c498cf44D2946612DBe47fBcE7E87fca',
      type: 'mitum'
    },
    items: [ [RevokeOperatorItem] ]
  },
  hint: Hint { s: 'mitum-sto-revoke-operator-operation' },
  _factSigns: [],
  _hash: <Buffer >
}
```
