Now, as mentioned in the above documentation, we need to create the API URL from the full URL which includes the tenant name and region name followed by "portal.cloudappsecurity.com" followed by "/api/v1/<endpoint>".
This format is working fine but when I try my API call using just "portal.cloudappsecurity.com" followed by "/api/v1/<endpoint>", It uploads my file on my portal correctly. So I think it's inferring my portal URL from the API token which I've provided correctly.
So is this understanding correct? How can it correctly upload my logs in my tenant? Are there any consequences using the API URL without my tenant name and region?
I've tried searching the same issue on the internet and docs but nothing is mentioned about this.