Forum Discussion
VikasB
8 years agoBoss
Delete (HTTP DELETE) and Update(HTTP PUT)is not allowed as mentioned in doc.
Create(HTTP POST): I would suggest you to use it inside the endpoint on the behalf of user as you have to pass the user id as an album owner.
POST /community/2.0/mytenantid/albums HTTP/1.1 Host: api.lithium.com Content-Type: application/json Cache-Control: no-cache client-id: czY8mbW76Ac/Wz6+bAMhCm+sW5WSyhAO2odh28TB1/c= { "data":{ "type":"album", "title":"my favorites", "description":"my favorite uploads", "owner":{ "id":"32" } } }
Related Content
- 24 days ago
- 10 months ago