Getting error while attempting to delete a label.
from what i can tell from the api docs and searching this should work.
curl --request DELETE --url 'https://server.local/rest/api/content/123/label/gtest' -b /tmp/cookie.cook
getting response of:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: https://server.local/rest/api/content/123/label/gtest</message></status>
Able to view labels for a page via rest so i feel like i am understanding the syntax
curl -b cookie.txt https://server.local/rest/api/content/123
Able to add a label to a page via rest. this seems to work fine.
curl -X POST https://server.local/rest/api/content/43144590/label -b /tmp/cookie.cook -d '[ { "prefix": "global", "name": "gtest"}]' -H 'Content-Type: application/json' -H 'Accept: application/json'
Is there a specific permission on on certian rest api endpoints i ned to ask my server admin for?
Did you resolve the above issue? I am having this issue now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.