Entity Service
Templates
Update a template with a given id.
1min
PUT
PATH PARAMETERS
entityTypePluralName
EntityTypePluralName
*A unique *plural name* i.e. a term that defines multiple Entities of this entity type. This is used as collection name in resource URL for this entity type and as Entity id prefix.
categoryName
string
*Example: vehicle
valid category name
templateId
string
*Example: template:362627e0-3631-11ec-8d3d-0242ac130003
valid template id
HEADER PARAMETERS
X-COREOS-REQUEST-ID
string
*Unique requestId
X-COREOS-TID
string
*Tenant id
X-COREOS-ACCESS
string
*core-os access token
X-COREOS-USERINFO
string
core-os userinfo token
X-COREOS-APPID
string
*X-COREOS-CALLBACK-SECRET
string
callback secret (base64 encoded string)
BODY PARAMETERS
body
TemplateUpdateRequest
*Create new template
name
string
attributes
CoreAttributeConfigTemplate[]
entity type core attributes configuration
callback
CallbackMeta
RESPONSES
202
OK
SuccessResponse
data
object
*request
Request
*400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*Error Information
request
Request
*401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that Tenant.
ErrorResponse
error
Error
*Error Information
request
Request
*404
Not found - The server can not find the requested resource.
ErrorResponse
error
Error
*Error Information
request
Request
*

Updated 24 Aug 2023
Did this page help you?