Set Active Feature
Mengaktif & nonaktifkan data Feature.
URI
PATCH/api/v1/features/{id}set-active/{set_active}
Security
Type: Bearer Token
Path Parameter
| Name | Type | Field | Description |
|---|---|---|---|
id | string | required | Berisi ID spesifik dari data Feature. |
set_active | string | required | Berisi nilai dari pengaturan (1 => aktif, 0 => nonaktif). |
Examples
- URI
- Response
`{base_url}/api/v1/features/1/set-active/1`
{
"message": "Data berhasil tersimpan",
"data": null
}