diff --git a/docs/docs/apis/proto/admin.md b/docs/docs/apis/proto/admin.md index dd9c382a2..e48ccd622 100644 --- a/docs/docs/apis/proto/admin.md +++ b/docs/docs/apis/proto/admin.md @@ -614,7 +614,7 @@ Change an existing ldap identity provider on the instance - POST: /idps/ldap/{id} + PUT: /idps/ldap/{id} ### DeleteProvider @@ -627,7 +627,7 @@ Will remove all linked providers of this configuration on the users - POST: /idps/templates/{id} + DELETE: /idps/templates/{id} ### GetOrgIAMPolicy diff --git a/docs/docs/apis/proto/management.md b/docs/docs/apis/proto/management.md index 5951350c5..cfcac546f 100644 --- a/docs/docs/apis/proto/management.md +++ b/docs/docs/apis/proto/management.md @@ -3071,7 +3071,7 @@ Change an existing ldap identity provider in the organisation - POST: /idps/ldap/{id} + PUT: /idps/ldap/{id} ### DeleteProvider @@ -3084,7 +3084,7 @@ Will remove all linked providers of this configuration on the users - POST: /idps/templates/{id} + DELETE: /idps/templates/{id} ### ListActions diff --git a/proto/zitadel/admin.proto b/proto/zitadel/admin.proto index 0679533ea..f66bfab81 100644 --- a/proto/zitadel/admin.proto +++ b/proto/zitadel/admin.proto @@ -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) = { diff --git a/proto/zitadel/management.proto b/proto/zitadel/management.proto index d368b1eb3..b9d0e0a61 100644 --- a/proto/zitadel/management.proto +++ b/proto/zitadel/management.proto @@ -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) = {