Authorization: Bearer ********************{
"status": "success",
"message": "Departments fetched successfully",
"data": {
"current_page": 1,
"current_page_url": "http://127.0.0.1:8000/api/v1/departments?page=1",
"data": [
{
"id": 2,
"name": "oke",
"description": null,
"created_at": "2025-08-05T18:25:04.000000Z",
"updated_at": "2025-08-05T18:25:04.000000Z"
}
],
"first_page_url": "http://127.0.0.1:8000/api/v1/departments?page=1",
"from": 1,
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/v1/departments",
"per_page": 10,
"prev_page_url": null,
"to": 1
}
}