---
title: "Have an actor play a role"
method: PUT
path: "/v1/apps/{app}/cast/{actor}/roles/{role}"
tags: ["Cast"]
---

# Have an actor play a role

`PUT /v1/apps/{app}/cast/{actor}/roles/{role}`

## Request

- Base URL: `https://api.taada.dev`
- URL: `https://api.taada.dev/v1/apps/{app}/cast/{actor}/roles/{role}`
- Auth: HTTP bearer

This actor plays this role, with the same name, character and voice as their other roles. A new role joins them; a role somebody else played MOVES to them, with its routines and its logins (an actor left with no role is no longer in the cast). `login` gives the role its login here, as on `POST /cast`. Saying it twice changes nothing.

## Path parameters

- `app` string, required
- `actor` string, required
- `role` string, required

## Request body

- object
  - `environment` string
  - `login` union
    - 'tada'
    - object
      - `email` string, email, required
      - `password` string, 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)
