{ "opencollection": "1.0.0", "info": { "name": "ThingsBoard Admin admin-controller o-auth-2-config-template-controller API", "version": "4.3.0.3DEMO" }, "items": [ { "info": { "name": "o-auth-2-config-template-controller", "type": "folder" }, "items": [ { "info": { "name": "Get the List of All OAuth2 Client Registration Templates (getClientRegistrationTemplates) Available for Users with 'SYS_ADMIN' or 'TENANT_ADMIN' Authority.", "type": "http" }, "http": { "method": "GET", "url": "https://demo.thingsboard.io/api/oauth2/config/template" }, "docs": "Client registration template is OAuth2 provider configuration template with default settings for registering new OAuth2 clients" }, { "info": { "name": "Create or Update OAuth2 Client Registration Template (saveClientRegistrationTemplate) Available for Users with 'SYS_ADMIN' Authority.", "type": "http" }, "http": { "method": "POST", "url": "https://demo.thingsboard.io/api/oauth2/config/template", "body": { "type": "json", "data": "{}" } }, "docs": "Client registration template is OAuth2 provider configuration template with default settings for registering new OAuth2 clients" }, { "info": { "name": "Delete OAuth2 Client Registration Template by Id (deleteClientRegistrationTemplate) Available for Users with 'SYS_ADMIN' Authority.", "type": "http" }, "http": { "method": "DELETE", "url": "https://demo.thingsboard.io/api/oauth2/config/template/:clientRegistrationTemplateId", "params": [ { "name": "clientRegistrationTemplateId", "value": "139b1f81-2f5d-11ec-9dbe-9b627e1a88f4", "type": "path", "description": "String representation of client registration template id to delete" } ] }, "docs": "Client registration template is OAuth2 provider configuration template with default settings for registering new OAuth2 clients" } ] } ], "bundled": true }