Go to All Forums

MSP. You are not authorized to perform this operation.

Hello,

 

I'ma try to test the extract the information from API but I recive the next error every time:

"You are not authorized to perform this operation."

I use the msp_zaaid value but don't work fine.

 

Could you show me the correct syntax to use the msp_zaaid. Ej:

https://www.site24x7.com/api/monitors?authtoken<auth_token>&msp_zaaid=<zaaid>

Thanks,

Like (1) Reply
Replies (3)

Hi oserra,

To operate your MSP customer account using APIs, you must pass an additional cookie header parameter "msp_zaaid" and not a url parameter.

You can obtain this unique "msp_zaaid" parameter for your individual customer accounts by initiating a GET API request "msp/customers". You can use the "zaaid" parameter received in this API response. 

For more details please you can refer this API doc.

For further queries, please feel free to drop us a mail at support@site24x7.com 

Regards,
Varun Modi
Site24x7

Like (0) Reply

Hi Varun,

Is there still no option to operate customer accounts using an overall MSP account? Right now we are creating an extra user account per customer account, and request an API token per user account per customer, which is quite tedious.

Thanks,

Tom

Like (0) Reply

Hi Tom,

Apologies for the delayed response.

If you are looking to add the same user to multiple Customer accounts, you can add the user in the MSP account and associate it to different customers as per your requirement.

However, if you are creating a user for individual customer account/portals, you might be adding different end-customers in their respective accounts which has to be done at the Customer level as those users are specific to Customer accounts and not MSP account. However, we have extended the possibility of adding individual users under Customer Accounts with different roles for which you can refer this article.

If it's the same user that you are adding into multiple Customer accounts, we would suggest you to add that user under the MSP account and associate them to different customers, so that you can create just one authtoken and use it for different Customer accounts for which you can refer this API doc.


Regards,
Varun Modi
Like (0) Reply

Was this post helpful?