I have tried to use below from one of the atlassian docs:
url --request PUT \
--url 'https://your-domain.atlassian.net/wiki/rest/api/space/{spaceKey}' \
--user 'email@example.com:' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{"status": "archived"}'
But it is giving me 500 internal server error. However the GET request is working fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.