mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
feat: org remove on admin api and org query with state (#4917)
* feat: org remove on admin api and org query with state * docs: change description for admin api remove org Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -215,6 +215,10 @@ func NewOrgNameSearchQuery(method TextComparison, value string) (SearchQuery, er
|
||||
return NewTextQuery(OrgColumnName, value, method)
|
||||
}
|
||||
|
||||
func NewOrgStateSearchQuery(value int32) (SearchQuery, error) {
|
||||
return NewNumberQuery(OrgColumnState, value, NumberEquals)
|
||||
}
|
||||
|
||||
func NewOrgIDsSearchQuery(ids ...string) (SearchQuery, error) {
|
||||
list := make([]interface{}, len(ids))
|
||||
for i, value := range ids {
|
||||
|
Reference in New Issue
Block a user