# /admin/securityprofiles/{id}/allowclientcredentialsgranttype

> The /admin/securityprofiles/{id}/allowclientcredentialsgranttype endpoint and its PATCH method, which switch the client credentials grant type of a profile.

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

---

## In This Section

- [PATCH /admin/securityprofiles/{id}/allowclientcredentialsgranttype](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-allowclientcredentialsgranttype/patch/llms.txt): Allow or block the OAuth client credentials grant type for one security profile: send true or false as the JSON body of a PATCH request as the admin user.

---

## Nearby

- **Previous:** [DELETE /admin/securityprofiles/{id}](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id/delete/llms.txt)
- **Next:** [PATCH /admin/securityprofiles/{id}/allowclientcredentialsgranttype](https://docs.textcontrol.com/ds-server/reference/web-api/administration/securityprofiles-id-allowclientcredentialsgranttype/patch/llms.txt)
