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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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

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) = {

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) = {