---
title: "Make this login the main test account of its environment"
method: PUT
path: "/v1/repos/{repoId}/accounts/{accountId}/main"
tags: ["Test users"]
---

# Make this login the main test account of its environment

`PUT /v1/repos/{repoId}/accounts/{accountId}/main`

## Request

- Base URL: `https://api.taada.dev`
- URL: `https://api.taada.dev/v1/repos/{repoId}/accounts/{accountId}/main`
- Auth: HTTP bearer

A check that names no role signs in as the main test account. Exactly one login per environment is the main one: this one, from now on. Answers `{ ok: true }`. Allowed with an API key: it reads and changes no password or sign-in.

## Path parameters

- `repoId` string, uuid, required
- `accountId` string, uuid, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/taada/apis/tada.md) · [All operations](https://skmtc.dev/taada/apis/tada/llms.txt) · [OpenAPI document](https://skmtc.dev/taada/apis/tada/revisions/9079c5c8a580?raw)
