Skip to content

Commit a62c7e3

Browse files
committed
Remove deprecated methods from GroupService
1 parent 68caf66 commit a62c7e3

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/services/GroupService.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,4 @@ export class GroupsService extends BaseService<Group> {
66
constructor(client: Client) {
77
super(client, "/v3/orgs/:orgId/iam/groups");
88
}
9-
10-
async deleteBinding(groupId: string, bindingId: string) {
11-
let deleteEndpoint = this.endpoint + '/' + groupId + '/bindings/' + bindingId;
12-
return await this.client.makeDeleteRequest(deleteEndpoint);
13-
}
14-
15-
async createBinding(groupId: string, body: string) {
16-
let createBindingEndpoint = this.endpoint + '/' + groupId + '/bindings';
17-
return await this.client.makePostRequest(createBindingEndpoint, {
18-
data: {
19-
type: 'bindings',
20-
attributes: JSON.parse(body)
21-
}
22-
});
23-
}
24-
}
9+
}

0 commit comments

Comments
 (0)