Edit Regulation
PUT/api/v1/project/:projectIdentifier/regulation/:regulation
Edit Regulation
Request
Path Parameters
projectIdentifier stringrequired
Project identifier (ID or name)
regulation stringrequired
Name of the regulation
- application/json
Body
required
name string
Name of the regulation
displayName string
Display name of the regulation
description string
Description of the regulation
typeId number
ID of the regulation type
config string
Configuration of the regulation
order number
Order of the regulation
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
name stringrequired
Name of the regulation
displayName string
Display name of the regulation
description string
Description of the regulation
type
object
id numberrequired
ID of the regulation type
name stringrequired
Name of the regulation type
description stringrequired
Description of the regulation type
projectId numberrequired
Project associated with the regulation
config string
Configuration of the regulation
order numberrequired
Order of the regulation
{
"name": "string",
"displayName": "string",
"description": "string",
"type": {
"id": 0,
"name": "string",
"description": "string"
},
"projectId": 0,
"config": "string",
"order": 0
}
Loading...