fix(api): correct http methods for provider templates endpoints (#5228)

fix(api): correct http methods for provider templates endpoints
This commit is contained in:
Livio Spring
2023-02-16 08:24:05 +01:00
committed by GitHub
parent d2f4196146
commit f6a320a9dd
4 changed files with 8 additions and 10 deletions
+2 -3
View File
@@ -1048,7 +1048,7 @@ service AdminService {
// Change an existing ldap identity provider on the instance
rpc UpdateLDAPProvider(UpdateLDAPProviderRequest) returns (UpdateLDAPProviderResponse) {
option (google.api.http) = {
post: "/idps/ldap/{id}"
put: "/idps/ldap/{id}"
body: "*"
};
@@ -1061,8 +1061,7 @@ service AdminService {
// Will remove all linked providers of this configuration on the users
rpc DeleteProvider(DeleteProviderRequest) returns (DeleteProviderResponse) {
option (google.api.http) = {
post: "/idps/templates/{id}"
body: "*"
delete: "/idps/templates/{id}"
};
option (zitadel.v1.auth_option) = {
+2 -3
View File
@@ -3046,7 +3046,7 @@ service ManagementService {
// Change an existing ldap identity provider in the organisation
rpc UpdateLDAPProvider(UpdateLDAPProviderRequest) returns (UpdateLDAPProviderResponse) {
option (google.api.http) = {
post: "/idps/ldap/{id}"
put: "/idps/ldap/{id}"
body: "*"
};
@@ -3059,8 +3059,7 @@ service ManagementService {
// Will remove all linked providers of this configuration on the users
rpc DeleteProvider(DeleteProviderRequest) returns (DeleteProviderResponse) {
option (google.api.http) = {
post: "/idps/templates/{id}"
body: "*"
delete: "/idps/templates/{id}"
};
option (zitadel.v1.auth_option) = {