Hi, I would like to create a folder(or nested folders) inside of a library on a SharePoint site. This is the URL I have so have for the Library.
https://mycompany.sharepoint.com/sites/DepartmentA/_api/web/folders
{
"__metadata": {
"type": "SP.Folder"
},
"ServerRelativeUrl": "/sites/ITCanadaDepartment/Training & Support/Helpdesk documents/test/{{issue.fields.summary}}"
}
I've tried running the trigger manually with this request body . I've also set the following headers:
Content-Type:application/json
Authorization: "Bearer " + accessToken
Accept:application/json;odata=verbose
I work with RESTful APIs and I was hoping I wouldnt even need to authenticate but it seems that is not the case . I get the following 403 Error:
I want to know if there is a way to make this request work . I am using the same email for my Office365 account as my Jira account so if there can be an implicit authorization between the two(doubtful) that would be nice.
Otherwise it's looking like I will to 1 authorize 2 pass the returned accessToken to the request body in order for this to work. Please I would love any help/ idea available .