Update mTLS Configuration for Target
PATCH/targets/:id/mtls/
Allows enabling or disabling mTLS for a target.
Request
Path Parameters
id stringrequired
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
enabled boolean
Enable or disable mTLS for the target.
Body
enabled boolean
Enable or disable mTLS for the target.
Body
enabled boolean
Enable or disable mTLS for the target.
Responses
- 200
- 400
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
configured booleanrequired
Indicates if mTLS is configured for the target.
enabled booleanrequired
Indicates if mTLS is currently enabled for the target.
{
"configured": true,
"enabled": true
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "You do not have permission to perform this action."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
Loading...