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.