---
title: User Groups
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[IAM](https://developers.cloudflare.com/api/typescript/resources/iam)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# User Groups

##### [List User Groups](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/methods/list)

client.iam.userGroups.list(UserGroupListParams {account\_id, id, direction, 4 more } params, RequestOptionsoptions?): V4PagePaginationArray< [UserGroupListResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)>) {id, created\_on, modified\_on, 2 more } >

GET/accounts/{account\_id}/iam/user\_groups

##### [User Group Details](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/methods/get)

client.iam.userGroups.get(stringuserGroupID, UserGroupGetParams {account\_id } params, RequestOptionsoptions?): [UserGroupGetResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)>) {id, created\_on, modified\_on, 2 more }

GET/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}

##### [Create User Group](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/methods/create)

client.iam.userGroups.create(UserGroupCreateParams {account\_id, name, policies } params, RequestOptionsoptions?): [UserGroupCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)>) {id, created\_on, modified\_on, 2 more }

POST/accounts/{account\_id}/iam/user\_groups

##### [Update User Group](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/methods/update)

client.iam.userGroups.update(stringuserGroupID, UserGroupUpdateParams {account\_id, name, policies } params, RequestOptionsoptions?): [UserGroupUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)>) {id, created\_on, modified\_on, 2 more }

PUT/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}

##### [Remove User Group](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/methods/delete)

client.iam.userGroups.delete(stringuserGroupID, UserGroupDeleteParams {account\_id } params, RequestOptionsoptions?): [UserGroupDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_delete_response%20%3E%20(schema)>) {id } | null

DELETE/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}

##### ModelsExpand Collapse

<details>

<summary>

UserGroupListResponse {id, created\_on, modified\_on, 2 more }

A group of policies resources.

</summary>

id: string

User Group identifier tag.

maxLength32

minLength32

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_on: string

Timestamp for the creation of the user group

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

modified\_on: string

Last time the user group was modified.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

name: string

Name of the user group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Policies attached to the User group

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)>)

<details>

<summary>

UserGroupGetResponse {id, created\_on, modified\_on, 2 more }

A group of policies resources.

</summary>

id: string

User Group identifier tag.

maxLength32

minLength32

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_on: string

Timestamp for the creation of the user group

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

modified\_on: string

Last time the user group was modified.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

name: string

Name of the user group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Policies attached to the User group

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)>)

<details>

<summary>

UserGroupCreateResponse {id, created\_on, modified\_on, 2 more }

A group of policies resources.

</summary>

id: string

User Group identifier tag.

maxLength32

minLength32

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_on: string

Timestamp for the creation of the user group

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

modified\_on: string

Last time the user group was modified.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

name: string

Name of the user group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Policies attached to the User group

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)>)

<details>

<summary>

UserGroupUpdateResponse {id, created\_on, modified\_on, 2 more }

A group of policies resources.

</summary>

id: string

User Group identifier tag.

maxLength32

minLength32

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_on: string

Timestamp for the creation of the user group

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

modified\_on: string

Last time the user group was modified.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

name: string

Name of the user group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Policies attached to the User group

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)>)

<details>

<summary>

UserGroupDeleteResponse {id }

</summary>

id: string

Identifier

maxLength32

minLength32

<a href="#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_delete_response%20%3E%20(schema)>)

#### User GroupsMembers

##### [List User Group Members](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/subresources/members/methods/list)

client.iam.userGroups.members.list(stringuserGroupID, MemberListParams {account\_id, direction, fuzzyEmail, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray< [MemberListResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)>) {id, email, status } >

GET/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}/members

##### [Get User Group Member](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/subresources/members/methods/get)

client.iam.userGroups.members.get(stringmemberID, MemberGetParams {account\_id, user\_group\_id } params, RequestOptionsoptions?): [MemberGetResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)>) {id, created\_at, email, 2 more }

GET/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}/members/{member\_id}

##### [Add User Group Members](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/subresources/members/methods/create)

client.iam.userGroups.members.create(stringuserGroupID, MemberCreateParams {account\_id, members } params, RequestOptionsoptions?): SinglePage< [MemberCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)>) {id, email, status } >

POST/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}/members

##### [Update User Group Members](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/subresources/members/methods/update)

client.iam.userGroups.members.update(stringuserGroupID, MemberUpdateParams {account\_id, members } params, RequestOptionsoptions?): SinglePage< [MemberUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)>) {id, email, status } >

PUT/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}/members

##### [Remove User Group Member](https://developers.cloudflare.com/api/typescript/resources/iam/subresources/user_groups/subresources/members/methods/delete)

client.iam.userGroups.members.delete(stringmemberID, MemberDeleteParams {account\_id, user\_group\_id } params, RequestOptionsoptions?): [MemberDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)>) {id, email, status }

DELETE/accounts/{account\_id}/iam/user\_groups/{user\_group\_id}/members/{member\_id}

##### ModelsExpand Collapse

<details>

<summary>

MemberListResponse {id, email, status }

Member attached to a User Group.

</summary>

id: string

Account member identifier.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"

The member’s status in the account.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)>)

<details>

<summary>

MemberGetResponse {id, created\_at, email, 2 more }

Detailed member information for a User Group member.

</summary>

id: string

Account member identifier.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at?: string

When the member was added to the user group.

formatdate-time

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"

The member’s status in the account.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

user?: User {id, email, first\_name, last\_name }

Details of the user associated with this membership.

</summary>

id?: string

User identifier tag.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

first\_name?: string

User’s first name.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20first_name">Link to this property</a>

last\_name?: string

User’s last name.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20last_name">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)>)

<details>

<summary>

MemberCreateResponse {id, email, status }

Member attached to a User Group.

</summary>

id: string

Account member identifier.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"

The member’s status in the account.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)>)

<details>

<summary>

MemberUpdateResponse {id, email, status }

Member attached to a User Group.

</summary>

id: string

Account member identifier.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"

The member’s status in the account.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)>)

<details>

<summary>

MemberDeleteResponse {id, email, status }

Member attached to a User Group.

</summary>

id: string

Account member identifier.

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

email?: string

The contact email address of the user.

maxLength90

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"

The member’s status in the account.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)>)