- 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 ExistenceGET
- List All MembersGET
- Search MembersGET
- Search Potential MembersGET
- Add a MemberPOST
- Invite MembersPOST
- Retrieve an Invitation LinkGET
- Accept an InvitationPOST
- Decline an InvitationPOST
- Update a MemberPATCH
- Assign LicensePATCH
- Assign License to an Organization GroupPATCH
- Remove a LicensePATCH
- Search License-Assigned Members and GroupsGET
- Remove a MemberDELETE
- Delete an InvitationDELETE
- Leave a SpaceDELETE
- 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
Assign License
Testing
PATCH
/spaces/{spaceId}/members/assign-license
spaceId
: Space Id to which the licenses belongcourseId
of the course inside the space and profileIds
: profile ids of the space members the license to be assigned.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.aladia.io/v2/spaces/6617c00ed3179eccf598d5fd/members/assign-license' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"courseId": "66aee615cb877d127a556f17",
"profileIds": [
"66aee615cb877d127a556f17",
"66aee615cb8241i23nfsdfkj"
]
}'
Response Response Example
200 - Success
{
"updated": true
}
Request
Path Params
spaceId
stringÂ
required
Example:
6617c00ed3179eccf598d5fd
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
courseId
stringÂ
required
profileIds
array[string]
required
Examples
Responses
🟢200Success
application/json
Body
updated
booleanÂ
required
🟠404Record Not Found
🟠401Unauthorized
🟠403Forbidden
Modified at 2025-04-10 05:57:16