We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Suspened Users API
Suspened Users API
someone could tell me how to create a function to block multiple User by api vestacp
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Suspened Users API
tjebbeke wrote: Create this with name 'v-suspend-mutli-user' and execute: v-suspend-mulit-user user1 user2 user3 ...Code: Select all
#!/bin/bash for user in "$@" do echo "Suspend user $user" v-suspend-user $user done
Re: Suspened Users API
API documentation and examples:
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt
-> viewtopic.php?f=18&t=12610
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt
-> viewtopic.php?f=18&t=12610