- Social
- Comments
- Posts
- Reactions
- Story Groups
- Stories
- Social Views
- Social Collections
- Saved Posts
- Hidden Socials
- Calendar
- Calendars
- Events
- Event Rooms
- Authentication
- Global
- Profile
- Organizations
- Search Brand Fetch Brands
- Verify Organization
- Remove a Site
- Create a Site
- Invite Organization Branch
- List All Branches
- Accept Branch Invitation
- Decline Branch Invitation
- List All Organization Collaborators
- List All Organizations
- Search Organizations
- Retrieve an Organization
- Update an Organization
- Delete an Organization
- Create an Organization
- Search Brands
- List All Social Links
- Members
- List All Members
- Search Members
- Invite Organization Members
- Delete Invitation
- Update a Member
- Retrieve a Member
- Delete a Member
- Delete Multiple Members
- Accept Organization Invitation
- Decline Organization Invitation
- Check Member Existence
- Retrieve Invitation Link
- Retrieve Invitation Object
- Retrieve Non-Paginated Organization Members
- List All Resources of an Organization
- Update Member Resource Roles-V1
- Update Member Resource Roles-V2
- Followers
- Groups
- Profiles
- Experiences
- Group Members
- Profile Search History
- Alumni
- Favorites
- Retrieve an Invitation link
- Organizations
- Notification
- Storage
- Space
- Folders
- Space Members
- Check Member Existence
- List All Members
- Search Members
- Search Potential Members
- Add a Member
- Invite Members
- Retrieve an Invitation Link
- Accept an Invitation
- Decline an Invitation
- Update a Member
- Assign License
- Assign License to an Organization Group
- Remove a License
- Search License-Assigned Members and Groups
- Remove a Member
- Delete an Invitation
- Leave a Space
- Spaces
- Health
- Course
- Course Versions
- Completions
- Certificates
- Courses
- List All Courses
- Publish a Course
- Delete a Course
- Retrieve a Course
- Create a Course
- Update a Course
- Search a Course
- Delete All Course
- Review a Course
- Start a Course
- Create a Cycle
- Delete a Cycle
- Clone a Course
- Update Cycles
- List All Courses With Published Verifying Status
- Search Courses With Published Verifying Status
- List All Languages Course Count
- List All Skills Course Count
- Update a Course Certificate
- Create a Coupon
- Update a Coupon
- Delete a Coupon
- Update Version
- Compare Latest Course
- Categories
- Course Members
- Chapters
- Lectures
- Subjects
- Webhook
- Analytics
Update a Category
Testing
PATCH
/categories/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.aladia.io/v2/categories/' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"parentId": "c5d65a582a72e54a6dee0bd3",
"name": "Programming",
"image": {
"fileName": "test.png",
"metadata": {
"fileSize": 31809,
"fileType": "image/png",
"originalName": "test.png"
}
},
"proposedUserId": "e5bd7fe83f2c0a674ca5b67e",
"status": "active"
}'
Response Response Example
200 - Success
{
"id": "d22fc1feb9dcf1bdbc63d9d8",
"parentId": "d8123706d1e386abde59de8a",
"name": "Programming",
"image": {
"url": "https://loremflickr.com/640/480",
"metadata": {
"size": 1000,
"mimetype": "image/png",
"name": "test.png"
},
"fileId": "6683e28c1f74eef6fe9f0322"
},
"proposedUserId": "feb9a8b0dec5edef1d8da15f",
"status": "active"
}
Request
Path Params
id
stringย
required
Header Params
apikey
stringย
optional
Example:
{{apikey}}
Body Params application/json
parentId
stringย
optional
name
stringย
optional
image
stringย
optional
proposedUserId
stringย
optional
status
stringย
optional
question
numberย
optional
createdAt
stringย
optional
updatedAt
stringย
optional
Examples
Responses
๐ข200Success
application/json
Body
id
stringย
optional
parentId
stringย
optional
name
stringย
optional
description
stringย ย |ย nullย
optional
image
optional
Any of
fileId
stringย
required
url
stringย
optional
metadata
objectย
optional
proposedUserId
stringย
optional
status
stringย
optional
๐ 401Unauthorized
๐ 403Forbidden
๐ 422Parameter Error
๐ 404Record Not Found
Modified atย 2025-04-08 11:03:00