Skip to content

Commit 6463704

Browse files
chore: generate code
1 parent 8558f85 commit 6463704

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

src/Subaccounts/Subaccounts.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -213,33 +213,6 @@ public function createSubAccount(SubaccountsCreateSubAccountRequest|array $body,
213213
], 'POST', $path);
214214
}
215215

216-
/**
217-
* Disable an operator.
218-
*
219-
* @param string $operatorId The unique identifier for the operator.
220-
* @param RequestOptions|null $requestOptions Optional typed request options
221-
*
222-
* @return \SumUp\Types\Operator
223-
* @throws \SumUp\Exception\ApiException
224-
* @throws \SumUp\Exception\UnexpectedApiException
225-
* @throws \SumUp\Exception\ConnectionException
226-
* @throws \SumUp\Exception\SDKException
227-
*
228-
* @deprecated
229-
*/
230-
public function deactivateSubAccount(string $operatorId, ?RequestOptions $requestOptions = null): \SumUp\Types\Operator
231-
{
232-
$path = sprintf('/v0.1/me/accounts/%s', rawurlencode((string) $operatorId));
233-
$payload = [];
234-
$headers = ['Content-Type' => 'application/json', 'User-Agent' => SdkInfo::getUserAgent()];
235-
$headers = array_merge($headers, SdkInfo::getRuntimeHeaders());
236-
$headers['Authorization'] = 'Bearer ' . $this->accessToken;
237-
238-
$response = $this->client->send('DELETE', $path, $payload, $headers, $requestOptions);
239-
240-
return ResponseDecoder::decodeOrThrow($response, \SumUp\Types\Operator::class, null, 'DELETE', $path);
241-
}
242-
243216
/**
244217
* List operators
245218
*

0 commit comments

Comments
 (0)