GET
Gets an array of existing security profile IDs.
The following sample returns an array of existing security profile IDs.
# Request:
curl --location --request GET 'https://trial.dsserver.io/admin/securityprofiles' \
--header 'Authorization: Basic YWRtaW46YWRtaW5hZG1pbg=='
# Result:
[
1,
2,
3,
4,
5,
6,
7
]
Status | Description |
---|---|
200 | On success, the HTTP status code in the response header is 200 (OK). The return value is an array of valid security profile IDs. |
Status | Description |
---|---|
401 | A 401 (Unauthorized) is returned, if the user is not authorized. |