# /admin/securityprofiles

> The /admin/securityprofiles endpoint of the DS Server Web API and its GET and POST methods, which list the security profile IDs and add a new security profile.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > Administration > /admin/securityprofiles
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/llms-full.txt

---

## In This Section

- [GET /admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/get/llms.txt): List the IDs of all security profiles of DS Server: a GET request with the admin credentials in a Basic authorization header returns a JSON array of numbers.
- [POST /admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/post/llms.txt): Add a security profile with a name, expiry date, client credentials grant type and client ID, secret and redirect URIs; DS Server returns the new profile's ID.

---

## Nearby

- **Previous:** [POST /admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms.txt)
- **Next:** [GET /admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/get/llms.txt)
