AlphaAlpha Docs
API ReferenceTypes -restriction

Update a restriction branch

Update a restriction branch

PUT
/types/restriction/{typeId}/branch/{branchId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
branchId*string

Query Parameters

restrictionTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/restriction/string/branch/string?restrictionTreeId=string" \  -H "Content-Type: application/json" \  -d '{    "choices": [      {        "code": "string",        "option": "string"      }    ],    "restriction": {      "id": "string",      "options": [        {          "allowedCodes": [            "string"          ],          "optionName": "string"        }      ]    }  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}