"You do not have permission to perform this action" when managing an endpoint.

Last updated: July 31, 2026

This is an authorization issue. Check three things:

  • Whether you're sending a valid Friendli API Key (flp_…) in the Authorization header.

  • Whether your team role allows the action.

  • Whether the key's default team matches the team that owns the endpoint. Manage keys and the default team in Friendli Suite → Settings → API Keys.

    • You can specify the team in your API request by including the X-Friendli-Team: <team_id> header. Otherwise, the API request will be associated with the API key’s default team. See our docs.