---
title: "PUT /v1/storages/{storage_id}/access-info"
method: PUT
path: "/v1/storages/{storage_id}/access-info"
tags: ["Storages"]
---

# PUT /v1/storages/{storage_id}/access-info

`PUT /v1/storages/{storage_id}/access-info`

Update a registered storage system access information in Infrastructure management DB.

## Path parameters

- `storage_id` string, required

## Request body

- union
  - object
    - `host` string
    - `port` string
    - `username` string, required
    - `password` string, required
    - `rest` RestAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `ssh` SSHAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `pub_key` string
      - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
    - `cli` CLIAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `smis` SMISAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `namespace` string
    - `extra_attributes` object
  - object
    - `host` string
    - `port` string
    - `username` string, required
    - `password` string, required
    - `pub_key` string
    - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
    - `rest` RestAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `ssh` SSHAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `pub_key` string
      - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
    - `cli` CLIAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `smis` SMISAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `namespace` string
    - `extra_attributes` object
  - object
    - `host` string
    - `port` string
    - `username` string, required
    - `password` string, required
    - `rest` RestAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `ssh` SSHAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `pub_key` string
      - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
    - `cli` CLIAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `smis` SMISAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `namespace` string
    - `extra_attributes` object
  - object
    - `host` string
    - `port` string
    - `username` string, required
    - `password` string, required
    - `namespace` string
    - `rest` RestAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `ssh` SSHAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `pub_key` string
      - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
    - `cli` CLIAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
    - `smis` SMISAccessInfoUpdate
      - `host` string
      - `port` string
      - `username` string, required
      - `password` string, required
      - `namespace` string
    - `extra_attributes` object

## Response `200`

Storage backend  available with updated access information

- StorageAccessInfoResponse
  - `id` string
  - `rest` RestAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
  - `ssh` SSHAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
    - `pub_key` string
    - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
  - `cli` CLIAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
  - `smis` SMISAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
    - `namespace` string, required
  - `vendor` string
  - `model` string
  - `extra_attributes` object

## Other responses

- `400` — BadRequest
- `401` — NotAuthorized
- `403` — Forbidden
- `500` — An unexpected error occured.

---

[API](https://skmtc.net/sodafoundation/apis/soda-infrastructure-management-api.md) · [All operations](https://skmtc.net/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sodafoundation/soda-infrastructure-management-api/revisions/b2017613d719/schema)
