Skip to main content
Version: 1.5.0

Create a provisioning configuration

POST 

https://demo.openremote.io/api/master/provisioning

Create a provisioning configuration

Request

Body

    type string

    Possible values: []

    idint64

    Possible values: >= 1

    createdOndate-time
    lastModifieddate-time
    namestringrequired

    Possible values: non-empty and <= 255 characters

    realmstring
    assetTemplatestring
    restrictedUserboolean
    userRolesstring[]

    Possible values: [read:admin, read:logs, read:users, read:map, read:assets, read:rules, read:insights, read:alarms, write:user, write:admin, write:logs, write:assets, write:attributes, write:rules, write:insights, write:alarms, read, write]

    disabledboolean
    dataobject

Responses

default response

Schema
    integerint64

Authorization: oauth2

name: openidtype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  },
  "authorizationCode": {
    "authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  }
}
curl -L 'https://demo.openremote.io/api/master/provisioning' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"id": 0,
"createdOn": "2024-07-29T15:51:28.071Z",
"lastModified": "2024-07-29T15:51:28.071Z",
"name": "string",
"type": "string",
"realm": "string",
"assetTemplate": "string",
"restrictedUser": true,
"userRoles": [
"read:admin"
],
"disabled": true,
"data": {}
}'
Request Collapse all
Base URL
https://demo.openremote.io/api/master
Auth
Body
{
  "id": 0,
  "createdOn": "2024-07-29T15:51:28.071Z",
  "lastModified": "2024-07-29T15:51:28.071Z",
  "name": "string",
  "type": "string",
  "realm": "string",
  "assetTemplate": "string",
  "restrictedUser": true,
  "userRoles": [
    "read:admin"
  ],
  "disabled": true,
  "data": {}
}
ResponseClear

Click the Send API Request button above and see the response here!