Hi . i wanna get email adresse for a specific user by accountId and i have a 403 error
getEmailUser(accountId) {
let url = this.config.apiPath + "/user/bulk?accountId=" + accountId;
return AP.request({
url : "/rest/api/user/bulk?accountId="+accountId,
contentType: "application/json",
type: 'GET',
Authorization: "bWJvdWF6emEuc3BlY3RydW1ncm91cGVAZ21haWwuY29tOnd6UGhpRXBWd1JTN0E0aDhrRVRyODhGRg==",
}).then(function (data) {
console.log(data)
return JSON.parse(data);
}).catch(function (error) {
console.log('error email user => ' + JSON.stringify(error))
}); } i tied this url : wiki/rest/api/user/email?accountId={accountId}
and it return the same error
