List the accounts
Suggest changes
You can retrieve a list of the accounts. You might do this to assess your security environment or before creating a new account.
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
GET |
/api/security/accounts |
Processing type
Synchronous
Curl example
curl --request GET \
--location "https://$FQDN_IP/api/security/accounts" \
--include \
--header "Accept: */*" \
--header "Authorization: Basic $BASIC_AUTH"
JSON output example
{ "records": [ { "owner": { "uuid": "642573a8-9d14-11ee-9330-005056aed3de", "name": "vs0", "_links": { "self": { "href": "/api/svm/svms/642573a8-9d14-11ee-9330-005056aed3de" } } }, "name": "vsadmin", "_links": { "self": { "href": "/api/security/accounts/642573a8-9d14-11ee-9330-005056aed3de/vsadmin" } } }, { "owner": { "uuid": "fdb6fe29-9d13-11ee-9330-005056aed3de", "name": "sti214nscluster-1" }, "name": "admin", "_links": { "self": { "href": "/api/security/accounts/fdb6fe29-9d13-11ee-9330-005056aed3de/admin" } } }, { "owner": { "uuid": "fdb6fe29-9d13-11ee-9330-005056aed3de", "name": "sti214nscluster-1" }, "name": "autosupport", "_links": { "self": { "href": "/api/security/accounts/fdb6fe29-9d13-11ee-9330-005056aed3de/autosupport" } } } ], "num_records": 3, "_links": { "self": { "href": "/api/security/accounts" } } }