Skip to main content
POST
/
skills
/
{status}
/
{id}
Bulk update/delete skills
curl --request POST \
  --url http://localhost/mogl/mogl-admin-dashboard/skills/{status}/{id} \
  --header 'Content-Type: application/json' \
  --cookie mogl_session= \
  --data '
{
  "status_update": "A",
  "checkbox_val": [
    20,
    32
  ],
  "is_ajax": "Yes",
  "limit_per_page": 10,
  "search_filed": "name"
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Path Parameters

status
enum<string>
default:All
Available options:
All,
A,
I
id
integer

Body

application/json
status_update
enum<string>
required

A=Approve, I=Unapprove, DELETE=Soft delete

Available options:
A,
I,
DELETE
Example:

"A"

checkbox_val
integer[]
required

Array of skill IDs to update

Example:
[20, 32]
is_ajax
string

Set Yes for AJAX response

Example:

"Yes"

limit_per_page
integer
Example:

10

search_filed
string

Field to search

Example:

"name"

Response

200

Status updated, returns list view