Create a role for an hierarchical entity in a version of the application.

post/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/roles

Request

  • Base URL
    {Endpoint}/luis/authoring/v3.0-preview
  • URL
    {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/roles
  • Auth
    API key in header Ocp-Apim-Subscription-Key

Path parameters

appIdstring uuid required

The application ID.

versionIdstring required

The version ID.

hEntityIdstring uuid required

The hierarchical entity extractor ID.

Request body

namestring

The entity role name.

Response

The ID of the created entity role

string uuid required

The ID (GUID) returned by an operation.

Changes

No recorded changes to this operation across all 11 revisions of this API.