# Quit **DELETE /stake-pools/*/wallets/{walletId}**
status: stable
Stop delegating completely. The wallet's stake will become inactive. Any current rewards will automatically withdrawn. > ⚠️ Disclaimer ⚠️ > > This endpoint historically use to take a stake pool id as a path parameter. > However, retiring from delegation is ubiquitous and not tied to a particular > stake pool. For backward-compatibility reasons, sending stake pool ids as path > parameter will still be accepted by the server but new integrations are > encouraged to provide a placeholder asterisk `*` instead. ## Servers - https://localhost:8090/v2: https://localhost:8090/v2 () ## Parameters ### Path parameters - **walletId** (string(hex)) ### Body: application/json (object) - **passphrase** (string) The source wallet's master passphrase. ## Responses ### 400 Bad Request #### Body: application/json (object) - **message** (string) May occur when a request is not well-formed; that is, it fails to parse successfully. This could be the case when some required parameters are missing or, when malformed values are provided. - **code** (string) ### 403 Forbidden #### Body: application/json (object) - **message** (string) May occur when a transaction can't be balanced for fees. - **code** (string) ### 404 Not Found #### Body: application/json (object) - **message** (string) May occur when a given walletId does not match with any known wallets (because it has been deleted, or has never existed). - **code** (string) ### 406 Not Acceptable #### Body: application/json (object) - **message** (string) May occur when providing an invalid 'Accept' header. - **code** (string) ### 415 Unsupported Media Type #### Body: application/json (object) - **message** (string) May occur when providing an invalid 'Content-Type' header. - **code** (string) ### 202 Accepted #### Body: application/json (object) - **id** (string(hex)) A unique identifier for this transaction - **amount** (object) An amount of Ada spent or received, from the perspective of the wallet. That is, for outgoing transaction, it represents the amount of Ada consumed as inputs including the amount of Ada spent as fees or deposits. For incoming transaction, it represents the total amount of Ada received to addresses that belong to the wallet. - **fee** (object) Coins, in Lovelace. Only relates to 'Ada'. Refer to `assets` for multi-assets wallets instead. - **deposit_taken** (object) Coins, in Lovelace. Only relates to 'Ada'. Refer to `assets` for multi-assets wallets instead. - **deposit_returned** (object) Coins, in Lovelace. Only relates to 'Ada'. Refer to `assets` for multi-assets wallets instead. - **inserted_at** (object) A reference to a particular time slot, and the block height at that point. - **expires_at** (object) A reference to a particular time slot. - **pending_since** (object) A reference to a particular time slot, and the block height at that point. - **depth** (object) if: status == in_ledger