0
votes

I have created one workspace from the API and I want to delete the same workspace using the same api and the same user which we used to create workspace using API. But Podio is giving 'PodioForbiddenError', I am not sure that why it is having forbidden error when we are using same user.

I am calling following API:

PodioSpace::delete($space_id);

And it is giving following error:

PodioForbiddenError
in Podio.php line 319
at Podio::request('DELETE', '/space/5295098', array()) in Podio.php line 358
at Podio::delete('/space/5295098') in PodioSpace.php line 87

Please let me know what I am doing wrong.

1

1 Answers

0
votes

You need to be trusted partner to be able to call that method from API.

You need special privilege for your API Client/Secret to get that. For normal API Client delete space call is blocked. The increase of trust level needed for this operation is only granted to trusted companies and individuals, e.g. partners, and the verification is done by our customer care team, you can contact them by mail: [email protected].