o-auth-2-controller
Save OAuth2 Client (saveOAuth2Client)
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
post/api/oauth2/client
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"createdTime": 1746028547220,
"additionalInfo": {},
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"mapperConfig": {
"basic": {
"tenantNamePattern": "%{email}"
}
}
}Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"createdTime": 1746028547220,
"additionalInfo": {},
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"mapperConfig": {
"basic": {
"tenantNamePattern": "%{email}"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.