Update MLE Configuration for Target
PATCH/targets/:id/mle/
Allows updating MLE metadata (enabled, key_id, scope) for a target. Keys cannot be updated via PATCH - use PUT to replace entire configuration.
Request
Path Parameters
id stringrequired
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
enabled boolean
Enable or disable MLE for the target.
key_id string
Update the Key ID for MLE configuration.
scope string[]
Update the list of API paths where MLE is applied.
Body
enabled boolean
Enable or disable MLE for the target.
key_id string
Update the Key ID for MLE configuration.
scope string[]
Update the list of API paths where MLE is applied.
Body
enabled boolean
Enable or disable MLE for the target.
key_id string
Update the Key ID for MLE configuration.
scope string[]
Update the list of API paths where MLE is applied.
Responses
- 200
- 400
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
configured booleanrequired
Indicates if MLE is configured for the target.
enabled booleanrequired
Indicates if MLE is currently enabled for the target.
key_id stringnullablerequired
The Key ID for MLE configuration.
scope string[]nullablerequired
List of API paths where MLE is applied.
{
"configured": true,
"enabled": true,
"key_id": "string",
"scope": [
"string"
]
}
- 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...