Skip to content

Commit

Permalink
feat!: AME-3391 Remove /user/add call which is deprecated and no-op (#42
Browse files Browse the repository at this point in the history
)

Removes `POST /user/add` call.

This call is being removed from the API. It currently is a no-op call.

Signed-off-by: Mark Freriks <[email protected]>
  • Loading branch information
djmarkoz authored Jan 9, 2025
1 parent 42c2e87 commit 69502aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
5 changes: 0 additions & 5 deletions pkg/acloudapi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ type OrganisationAPI interface {
GetOrganisation(ctx context.Context, organisationSlug string) (*Organisation, error)
}

type UserAPI interface {
AddUser(ctx context.Context) (AddUserResponse, error)
}

type MaintenanceAPI interface {
GetMaintenanceSchedules(ctx context.Context, org string) ([]MaintenanceSchedule, error)
GetMaintenanceSchedule(ctx context.Context, org, maintenanceScheduleID string) (*MaintenanceSchedule, error)
Expand All @@ -117,7 +113,6 @@ type Client interface {
ObservabilityAPI
OrganisationAPI
CloudAccountsAPI
UserAPI
MaintenanceAPI

Resty() *resty.Client
Expand Down
29 changes: 0 additions & 29 deletions pkg/acloudapi/user.go

This file was deleted.

0 comments on commit 69502aa

Please sign in to comment.