PUT /api/v1/battalions

PUT /api/v1/battalions

Query parameters

  • id integer(int32)

Body

  • id integer(int32)
  • name string | null

Body

  • id integer(int32)
  • name string | null

Body

  • id integer(int32)
  • name string | null

Responses

  • 200

    OK

curl \
 --request PUT 'http://api.example.com/api/v1/battalions' \
 --header "Content-Type: application/json" \
 --data '{"id":42,"name":"string"}'
curl \
 --request PUT 'http://api.example.com/api/v1/battalions' \
 --header "Content-Type: text/json"
curl \
 --request PUT 'http://api.example.com/api/v1/battalions' \
 --header "Content-Type: application/*+json"
Request examples
{
  "id": 42,
  "name": "string"
}
Request examples
{
  "id": 42,
  "name": "string"
}
Request examples
{
  "id": 42,
  "name": "string"
}