updateObligationType
updateObligationType
Path Parameters
id int64 required
id
application/json
Request Body required
request
name string
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Schema
integer
Created
Unauthorized
Forbidden
Not Found
PUT /dicts/obligation-types/:id
Request
Request
curl / cURL
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'
python / requests
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'
go / native
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'
nodejs / axios
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'
php / guzzle
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'
java / OkHttp
curl -L -X PUT '//localhost/dicts/obligation-types/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"name": "string"
}'