---
title: "Delete OAuth2 client registration template by id (deleteClientRegistrationTemplate)

Available for users with 'SYS_ADMIN' authority."
method: DELETE
path: "/api/oauth2/config/template/{clientRegistrationTemplateId}"
tags: ["o-auth-2-config-template-controller"]
---

# Delete OAuth2 client registration template by id (deleteClientRegistrationTemplate)

Available for users with 'SYS_ADMIN' authority.

`DELETE /api/oauth2/config/template/{clientRegistrationTemplateId}`

Client registration template is OAuth2 provider configuration template with default settings for registering new OAuth2 clients

## Path parameters

- `clientRegistrationTemplateId` string, required

## Response `200`

OK

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
