# Administration

> Change the admin password, add and delete security profiles and authentication servers, and switch OAuth on or off with the DS Server Administration endpoints.

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

---

The Administration endpoints change the admin password, manage security profiles and authentication servers, and switch OAuth on or off.

| Method | Endpoint | Description |
|---|---|---|
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt) | [/admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt) | Updates the password of the given username with a new password. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/get/llms-full.txt) | [/admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/get/llms-full.txt) | Gets an array of existing security profile IDs. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/post/llms-full.txt) | [/admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/post/llms-full.txt) | Adds a new security profile. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/get/llms-full.txt) | [/admin/securityprofiles/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/get/llms-full.txt) | Gets a specific security profile based on a given ID. |
| [`DELETE`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/delete/llms-full.txt) | [/admin/securityprofiles/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/delete/llms-full.txt) | Deletes a specific security profile based on a given ID. |
| [`PATCH`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-allowclientcredentialsgranttype/patch/llms-full.txt) | [/admin/securityprofiles/{id}/allowclientcredentialsgranttype](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-allowclientcredentialsgranttype/patch/llms-full.txt) | Specifies whether the client credentials grant type is activated or not based on a given ID. |
| [`PATCH`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-expirydate/patch/llms-full.txt) | [/admin/securityprofiles/{id}/expirydate](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-expirydate/patch/llms-full.txt) | Specifies the expiry date of a security profile based on a given ID. |
| [`PATCH`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-clientcredentials-authorizedredirecturis/patch/llms-full.txt) | [/admin/securityprofiles/{id}/clientcredentials/authorizedredirecturis](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-clientcredentials-authorizedredirecturis/patch/llms-full.txt) | Specifies the authorized redirect URIs for a security profile based on a given ID. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/oauth/get/llms-full.txt) | [/admin/oauth](https://docs.textcontrol.com/ds-server/reference/web-api/administration/oauth/get/llms-full.txt) | Returns whether OAuth is enabled. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/oauth/post/llms-full.txt) | [/admin/oauth](https://docs.textcontrol.com/ds-server/reference/web-api/administration/oauth/post/llms-full.txt) | Enables or disables OAuth. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers/get/llms-full.txt) | [/admin/authenticationservers](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers/get/llms-full.txt) | Gets an array of existing authentication server IDs. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers/post/llms-full.txt) | [/admin/authenticationservers](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers/post/llms-full.txt) | Adds a new authentication server. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id/get/llms-full.txt) | [/admin/authenticationservers/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id/get/llms-full.txt) | Gets a specific authentication server based on a given ID. |
| [`DELETE`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id/delete/llms-full.txt) | [/admin/authenticationservers/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id/delete/llms-full.txt) | Deletes a specific authentication server based on a given ID. |
| [`PATCH`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id-serverurl/patch/llms-full.txt) | [/admin/authenticationservers/{id}/serverurl](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id-serverurl/patch/llms-full.txt) | Specifies the server URL of an authentication server based on a given ID. |

---

## In This Section

- [/admin/authenticationservers/{id}/serverurl](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id-serverurl/llms-full.txt): The /admin/authenticationservers/{id}/serverurl endpoint of the DS Server Web API and its PATCH method, which changes the URL of an authentication server.
- [/admin/authenticationservers/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers-id/llms-full.txt): The /admin/authenticationservers/{id} endpoint of the DS Server Web API and its GET and DELETE methods, which read or remove one authentication server.
- [/admin/authenticationservers](https://docs.textcontrol.com/ds-server/reference/web-api/administration/authenticationservers/llms-full.txt): The /admin/authenticationservers endpoint of the DS Server Web API and its GET and POST methods, which list and register the servers that validate tokens.
- [/admin/oauth](https://docs.textcontrol.com/ds-server/reference/web-api/administration/oauth/llms-full.txt): The /admin/oauth endpoint of the DS Server Web API and its GET and POST methods, which read and change whether DS Server requires OAuth access tokens.
- [/admin/securityprofiles/{id}/allowclientcredentialsgranttype](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-allowclientcredentialsgranttype/llms-full.txt): The /admin/securityprofiles/{id}/allowclientcredentialsgranttype endpoint and its PATCH method, which switch the client credentials grant type of a profile.
- [/admin/securityprofiles/{id}/clientcredentials/authorizedredirecturis](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-clientcredentials-authorizedredirecturis/llms-full.txt): The /admin/securityprofiles/{id}/clientcredentials/authorizedredirecturis endpoint and its PATCH method, which set the redirect URIs of a profile.
- [/admin/securityprofiles/{id}/expirydate](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-expirydate/llms-full.txt): The /admin/securityprofiles/{id}/expirydate endpoint of the DS Server Web API and its PATCH method, which sets the date a security profile expires.
- [/admin/securityprofiles/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/llms-full.txt): The /admin/securityprofiles/{id} endpoint of the DS Server Web API and its GET and DELETE methods, which read or remove one security profile by its ID.
- [/admin/securityprofiles](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles/llms-full.txt): 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.
- [/admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/llms-full.txt): The /admin/users/{username}/password endpoint of the DS Server Web API and its POST method, which sets a new password for the admin user of DS Server.

---

## Nearby

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