Update network
PUT {{baseUrl}}/networks/:network_id
Updates the name or description of a network object.
Note: The name
body parameter is required when updating the specified network with this endpoint. To retrieve the name
, use the GET /networks/{network_id} endpoint.
Requires ADMINISTRATOR [64] user permissions.
Request Body
{"name"=>"deserunt irure incididunt", "description"=>"nulla ullamco", "assets_ttl_days"=>19157576}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"owner_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdf","created":1557526802865,"modified":1557526802865,"scanner_count":0,"uuid":"1b17ee49-8f17-4c8f-8536-bff9aff73429","name":"Columbia office","description":"Network devices at Columbia, MD location","is_default":false,"created_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","modified_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","assets_ttl_days":91,"created_in_seconds":1557526802,"modified_in_seconds":1557526802}