- Getting Started
- Integration Guides
- APIs
- OAuth
- Admin
- Auth
- Teams
- Academies
- Dashboards
- Members
- Courses
- Videos
- Quizzes
- Taxonomies
- Builder
- Enrollments
- Dowloads
- Tags
- Currencies
- Countries
- Certificates
- Certificates Templates
- Appointments
- Difficulties
- Assigment Members
- Assignments
- Products
- Articles
- Webhooks
- Domains
- Comments
- Reviews
- Orders
- Cancellation Reasons
- Bank Transfers
- Coupons
- Campaigns
- Affiliates
- Msaaq Affiliates
- Settings
- MsaaqPay
- Apps Marketplace
- Academy Verification
- Billing
- Notifications
- Apps
- Search
- Abandoned Carts
- Announcements
- Onboarding
- Forms
- Bank
- Coaching sessions
- Learning Paths
- Tenant
- Getting Started with Tenant API
- Auth
- Reviews
- Account
- Update login credentials
- Affliates
- Banks
- Change password by signed
- Unsubsribe
- Update Account
- Get order invoice
- Last viewed course/learning path
- List User's Appointments
- User Stats
- List User's Rejected Assignments
- List User's Assignments
- List User's Quizzes
- List User's Upcomming Appointments
- List User's Products
- List User's Courses
- List User's Learning Paths
- Last User's Orders
- Certificates
- Currencies
- Newsletter
- Cart
- Courses
- Payments
- Pages
- Articles
- Instructors
- Taxonomies
- Products
- Appointments
- Comment
- Learning paths
- Get Sitemap
- Get Translations
- Search
- Well Know
- Ping Pong
- Get Tenant Details
Update learning path courses
Production
Production
PATCH
https://api.msaaq.com/v1/admin/learning-paths/{learningPathId}/sync-courses
Last modified:2025-04-09 14:32:34
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
learningPathId
string
required
Example:
1160
Header Params
Accept
string
required
Example:
application/json
X-Tenant
string
required
Example:
{{tenant}}
Body Params application/json
object {0}
Example
{
"courses_to_add": [
{
"id": 809,
"sort": 4
}
],
"courses_to_remove": [
{
"id": 813
},
{
"id": 814
}
],
"sort_updates": [
{
"id": 818,
"sort": 6
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.msaaq.com/v1/admin/learning-paths/1160/sync-courses' \
--header 'Accept: application/json' \
--header 'X-Tenant: academy.msaaq.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"courses_to_add":[
{
"id":809,
"sort":4
}
],
"courses_to_remove":[
{
"id":813
},
{
"id":814
}
],
"sort_updates":[
{
"id":818,
"sort":6
}
]
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-04-09 14:32:34