---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / updateOrgMember

# Function: updateOrgMember()

> **updateOrgMember**(`options`, `auth`): `Promise`\<\{ \}\>

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/organization-member.ts:230](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/organization-member.ts#L230)

Updates an organization member's permissions and settings.

## Parameters

### options

[`UpdateOrgMemberOptions`](../interfaces/UpdateOrgMemberOptions.md)

Update options with organizationSlug, email, and optional canViewAllProjects and customDomainCertPermission

### auth

[`AuthStrategy`](../../../auth/interfaces/AuthStrategy.md)

Authentication strategy (required for API authorization)

## Returns

`Promise`\<\{ \}\>

Promise resolving to the updated organization member with full member details

## Throws

Error if the API request fails
