---
title: "Add user to account"
method: POST
path: "/accounts/{id}/adduser"
tags: ["accounts"]
---

# Add user to account

`POST /accounts/{id}/adduser`

Adds a not existing user to an account. the provider field is optional and if not provided it will be taken from the account model

## Path parameters

- `id` string, required

## Request body

- object
  - `userDetails` string

## Response `200`

ok

---

[API](https://skmtc.net/codefresh-io/apis/codefresh-api.md) · [All operations](https://skmtc.net/codefresh-io/apis/codefresh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codefresh-io/codefresh-api/versions/fa310e908c46/schema)
