Article summary
Did you find this summary helpful?
Thank you for your feedback
Put
/v2/objects/services/{objectId}
Required permission: ["objects:update"]
Security
Http
Type bearer
Path parameters
objectId
stringRequired
Body parameters
object
name
string Required
The name of the Objects
Max length100
Min length3
Pattern^[a-zA-Z0-9_ ]+$
description
string
protocols
Array of object (ObjectsServicesProtocolRequestObj) Required
AnyOf
ObjectServiceProtocolTCPUDP
protocol
string Required
Valid values[ "tcp", "udp" ]
ObjectServiceProtocolICMPRequest
protocol
string Required
Valid values[ "icmp" ]
protocolOptions
integer Required
-1 means 'any', the rest of the values are the RFC default ICMP parameters
Valid values[ -1, 0, 3, 5, 8, 9, 10, 11, 12, 13, 14, 40, 42, 43 ]
Responses
200
Success
object
name
string
The name of the Objects
Max length100
Min length3
Pattern^[a-zA-Z0-9_ ]+$
description
string
protocols
Array of object (ObjectsServicesProtocolResponseObj)
AnyOf
ObjectServiceProtocolTCPUDP
protocol
string
Valid values[ "tcp", "udp" ]
ObjectServiceProtocolICMPResponse
protocol
string
Valid values[ "icmp" ]
protocolOptions
object (ObjectServiceProtocolOptionsICMPresponse)
-1 means 'any', the rest of the values are the RFC default ICMP parameters
code
integer
description
string
401
Unauthorized
403
Forbidden
409
Conflict - You cannot update a service that is associated with one or more policies
Was this article helpful?