Hello guys, I learning about API v2, I was read the API commands and testing, so in my first commad teste I have a trouble, I try type the command:
curl -X POST https://api.dropboxapi.com/2/files/copy --header 'Authorization: Bearer null' --header 'Content-Type: application/json' --data '{"from_path":"","to_path":""}'
and the output returns: "Error in call to API function "files/copy": The given OAuth 2 access token is malformed."
I've been looking for this one from OAuth and the token, in the docs of dropbox I find the OAuth guide (https://www.dropbox.com/developers/reference/oauth-guide)...hear say that I should have a token to use this OAuth, and to I can have a token I need to create an application...I would like to know if it is possible generate a token(https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/) without create an application...just to I testing the commands of API...
Att:
I create an application in "My apps" section...but when I try to generate a token, 'generate access token' button in the settings section of the app I receive: "You must be a team administrator to perform this operation."
So: what I need to do to be a team administrator?
Any help be apreciated, thanks in advanced!