---
title: "Update last used company membership"
method: PUT
path: "/account/v2/users/{userUuid}/memberships/{companyUuid}/current"
tags: ["User"]
---

# Update last used company membership

`PUT /account/v2/users/{userUuid}/memberships/{companyUuid}/current`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/account/v2/users/{userUuid}/memberships/{companyUuid}/current`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/account/v2/users/:userUuid/memberships/:companyUuid/current/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a marketplace user's last used company.

## Path parameters

- `companyUuid` string, required
- `userUuid` string, required

## Response `204`

Success, no content

## Other responses

- `401`: Unauthorized
- `404`: User/Company not found

## Changes

- **2026-11-06** `1fc240f06971`: 1 breaking
  - removed the media type `*/*` for the response with the status `404`

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/account/v2/users/:userUuid/memberships/:companyUuid/current/put.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
