Skip to content

Commit

Permalink
chore: Remove Instance Organization Permissions operations
Browse files Browse the repository at this point in the history
We won't expose any Organization Permissions endpoints as part of our
Backend API and for this reason we are removing any related operations.
This is not considered a breaking change as the feature is under active
development and hasn't been released yet
  • Loading branch information
chanioxaris committed Dec 5, 2023
1 parent 3c246c9 commit 03bd5f0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 332 deletions.
41 changes: 20 additions & 21 deletions clerk/clerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,26 @@ const version = "1.48.4"
const (
ProdUrl = "https://api.clerk.dev/v1/"

ActorTokensUrl = "actor_tokens"
AllowlistsUrl = "allowlist_identifiers"
BlocklistsUrl = "blocklist_identifiers"
ClientsUrl = "clients"
ClientsVerifyUrl = ClientsUrl + "/verify"
DomainsURL = "domains"
EmailAddressesURL = "email_addresses"
EmailsUrl = "emails"
InvitationsURL = "invitations"
OrganizationsUrl = "organizations"
OrganizationPermissionsUrl = "organization_permissions"
PhoneNumbersURL = "phone_numbers"
ProxyChecksURL = "proxy_checks"
RedirectURLsUrl = "redirect_urls"
SAMLConnectionsUrl = "saml_connections"
SessionsUrl = "sessions"
TemplatesUrl = "templates"
UsersUrl = "users"
UsersCountUrl = UsersUrl + "/count"
WebhooksUrl = "webhooks"
JWTTemplatesUrl = "jwt_templates"
ActorTokensUrl = "actor_tokens"
AllowlistsUrl = "allowlist_identifiers"
BlocklistsUrl = "blocklist_identifiers"
ClientsUrl = "clients"
ClientsVerifyUrl = ClientsUrl + "/verify"
DomainsURL = "domains"
EmailAddressesURL = "email_addresses"
EmailsUrl = "emails"
InvitationsURL = "invitations"
OrganizationsUrl = "organizations"
PhoneNumbersURL = "phone_numbers"
ProxyChecksURL = "proxy_checks"
RedirectURLsUrl = "redirect_urls"
SAMLConnectionsUrl = "saml_connections"
SessionsUrl = "sessions"
TemplatesUrl = "templates"
UsersUrl = "users"
UsersCountUrl = UsersUrl + "/count"
WebhooksUrl = "webhooks"
JWTTemplatesUrl = "jwt_templates"
)

var defaultHTTPClient = &http.Client{Timeout: time.Second * 5}
Expand Down
96 changes: 0 additions & 96 deletions clerk/instance_organization_permissions.go

This file was deleted.

198 changes: 0 additions & 198 deletions clerk/instance_organization_permissions_test.go

This file was deleted.

17 changes: 0 additions & 17 deletions clerk/permissions.go

This file was deleted.

0 comments on commit 03bd5f0

Please sign in to comment.