# Creating a custom dashboard fails with 401 API Token not found

## What was going on

Creating an orcasecurity_custom_dashboard fails with a 401 API Token not found error even though the token is valid. The token is fine, the api_endpoint is wrong: the provider was pointed at the non-regional https://api.orcasecurity.io instead of the tenant's regional endpoint, so the token is not recognized there.

## The fix that worked

Set api_endpoint to the regional endpoint for the tenant, like https://api.eu.orcasecurity.io for an EU tenant. The reporter confirmed the regional endpoint fixed the 401.

## Where this came from

https://github.com/orcasecurity/terraform-provider-orcasecurity/issues/134