Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3309,52 +3309,6 @@
"members_update"
],
"x-scopes": []
},
"delete": {
"operationId": "DeactivateSubAccount",
"summary": "Disable an operator.",
"description": "Disable the specified operator for the merchant account.",
"parameters": [
{
"name": "operator_id",
"in": "path",
"description": "The unique identifier for the operator.",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Operator successfully disabled.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Operator"
}
}
}
}
},
"deprecated": true,
"security": [
{
"apiKey": []
},
{
"oauth2": []
}
],
"tags": [
"Subaccounts"
],
"x-deprecation-notice": "Subaccounts API is deprecated, to remove a user that's a member of your merchant account please use [Delete member](https://developer.sumup.com/api/members/delete) instead.",
"x-permissions": [
"members_delete"
],
"x-scopes": []
}
},
"/v0.1/memberships": {
Expand Down
13 changes: 0 additions & 13 deletions sdk/src/resources/subaccounts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,4 @@ export class Subaccounts extends APIResource {
...params,
});
}

/**
* Disable the specified operator for the merchant account.
*/
deactivateSubAccount(
operatorId: number,
params?: FetchParams,
): APIPromise<Operator, unknown> {
return this._client.delete<Operator, unknown>({
path: `/v0.1/me/accounts/${operatorId}`,
...params,
});
}
}
Loading