# place.stream.multistream.putTarget

> Update an existing target for rebroadcasting a Streamplace stream.

- Kind: procedure
- Authority: multistream.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.putTarget)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.putTarget/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.putTarget/analytics)

## Procedure (`place.stream.multistream.putTarget`)

Type: procedure · POST

### Input (application/json)

- `multistreamTarget` (ref, required)
  - Reference: `place.stream.multistream.target`
- `rkey` (string · record-key): The Record Key.
  - Constraints: maxLength: 512

### Output (application/json)

- `schema` (ref)
  - Reference: `place.stream.multistream.defs#targetView`

### Errors

- `InvalidTargetUrl`: The provided target URL is invalid or unreachable.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update an existing target for rebroadcasting a Streamplace stream.",
      "errors": [
        {
          "description": "The provided target URL is invalid or unreachable.",
          "name": "InvalidTargetUrl"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "multistreamTarget": {
              "ref": "place.stream.multistream.target",
              "type": "ref"
            },
            "rkey": {
              "description": "The Record Key.",
              "format": "record-key",
              "maxLength": 512,
              "type": "string"
            }
          },
          "required": [
            "multistreamTarget"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "place.stream.multistream.defs#targetView",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "place.stream.multistream.putTarget",
  "lexicon": 1
}
```
