---
title: User Groups
---

[Skip to content](#_top)

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

[IAM](https://developers.cloudflare.com/api/python/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/python/resources/iam/subresources/user_groups/methods/list)

iam.user\_groups.list(UserGroupListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[UserGroupListResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_list_response%20%3E%20(schema)>)]

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

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

iam.user\_groups.get(struser\_group\_id, UserGroupGetParams\*\*kwargs) -> [UserGroupGetResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_get_response%20%3E%20(schema)>)

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

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

iam.user\_groups.create(UserGroupCreateParams\*\*kwargs) -> [UserGroupCreateResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_create_response%20%3E%20(schema)>)

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

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

iam.user\_groups.update(struser\_group\_id, UserGroupUpdateParams\*\*kwargs) -> [UserGroupUpdateResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_update_response%20%3E%20(schema)>)

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

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

iam.user\_groups.delete(struser\_group\_id, UserGroupDeleteParams\*\*kwargs) -> [UserGroupDeleteResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups%20%3E%20(model)%20user_group_delete_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class UserGroupListResponse: …

A group of policies resources.

</summary>

id: str

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: datetime

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: datetime

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: str

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: Optional\[List\[Policy]]

Policies attached to the User group

</summary>

id: Optional\[str]

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: Optional\[Literal\["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: Optional\[List\[PolicyPermissionGroup]]

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

</summary>

id: str

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: Optional\[PolicyPermissionGroupMeta]

Attributes associated to the permission group.

</summary>

category: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[List\[PolicyResourceGroup]]

A list of resource groups that the policy applies to.

</summary>

id: str

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: PolicyResourceGroupScope

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

</summary>

key: str

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: List\[PolicyResourceGroupScopeObject]

A list of scope objects for additional context.

</summary>

key: str

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: Optional\[PolicyResourceGroupMeta]

Attributes associated to the resource group.

</summary>

key: Optional\[str]

<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: Optional\[str]

<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: Optional\[str]

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>

class UserGroupGetResponse: …

A group of policies resources.

</summary>

id: str

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: datetime

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: datetime

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: str

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: Optional\[List\[Policy]]

Policies attached to the User group

</summary>

id: Optional\[str]

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: Optional\[Literal\["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: Optional\[List\[PolicyPermissionGroup]]

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

</summary>

id: str

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: Optional\[PolicyPermissionGroupMeta]

Attributes associated to the permission group.

</summary>

category: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[List\[PolicyResourceGroup]]

A list of resource groups that the policy applies to.

</summary>

id: str

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: PolicyResourceGroupScope

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

</summary>

key: str

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: List\[PolicyResourceGroupScopeObject]

A list of scope objects for additional context.

</summary>

key: str

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: Optional\[PolicyResourceGroupMeta]

Attributes associated to the resource group.

</summary>

key: Optional\[str]

<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: Optional\[str]

<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: Optional\[str]

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>

class UserGroupCreateResponse: …

A group of policies resources.

</summary>

id: str

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: datetime

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: datetime

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: str

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: Optional\[List\[Policy]]

Policies attached to the User group

</summary>

id: Optional\[str]

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: Optional\[Literal\["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: Optional\[List\[PolicyPermissionGroup]]

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

</summary>

id: str

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: Optional\[PolicyPermissionGroupMeta]

Attributes associated to the permission group.

</summary>

category: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[List\[PolicyResourceGroup]]

A list of resource groups that the policy applies to.

</summary>

id: str

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: PolicyResourceGroupScope

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

</summary>

key: str

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: List\[PolicyResourceGroupScopeObject]

A list of scope objects for additional context.

</summary>

key: str

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: Optional\[PolicyResourceGroupMeta]

Attributes associated to the resource group.

</summary>

key: Optional\[str]

<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: Optional\[str]

<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: Optional\[str]

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>

class UserGroupUpdateResponse: …

A group of policies resources.

</summary>

id: str

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: datetime

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: datetime

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: str

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: Optional\[List\[Policy]]

Policies attached to the User group

</summary>

id: Optional\[str]

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: Optional\[Literal\["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: Optional\[List\[PolicyPermissionGroup]]

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

</summary>

id: str

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: Optional\[PolicyPermissionGroupMeta]

Attributes associated to the permission group.

</summary>

category: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[List\[PolicyResourceGroup]]

A list of resource groups that the policy applies to.

</summary>

id: str

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: PolicyResourceGroupScope

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

</summary>

key: str

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: List\[PolicyResourceGroupScopeObject]

A list of scope objects for additional context.

</summary>

key: str

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: Optional\[PolicyResourceGroupMeta]

Attributes associated to the resource group.

</summary>

key: Optional\[str]

<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: Optional\[str]

<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: Optional\[str]

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>

class UserGroupDeleteResponse: …

</summary>

id: str

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/python/resources/iam/subresources/user_groups/subresources/members/methods/list)

iam.user\_groups.members.list(struser\_group\_id, MemberListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[MemberListResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_list_response%20%3E%20(schema)>)]

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

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

iam.user\_groups.members.get(strmember\_id, MemberGetParams\*\*kwargs) -> [MemberGetResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_get_response%20%3E%20(schema)>)

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

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

iam.user\_groups.members.create(struser\_group\_id, MemberCreateParams\*\*kwargs) -> SyncSinglePage\[[MemberCreateResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_create_response%20%3E%20(schema)>)]

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

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

iam.user\_groups.members.update(struser\_group\_id, MemberUpdateParams\*\*kwargs) -> SyncSinglePage\[[MemberUpdateResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_update_response%20%3E%20(schema)>)]

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

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

iam.user\_groups.members.delete(strmember\_id, MemberDeleteParams\*\*kwargs) -> [MemberDeleteResponse](<https://developers.cloudflare.com/api/python/resources/iam#(resource)%20iam.user_groups.members%20%3E%20(model)%20member_delete_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class MemberListResponse: …

Member attached to a User Group.

</summary>

id: str

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: Optional\[str]

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: Optional\[Literal\["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>

class MemberGetResponse: …

Detailed member information for a User Group member.

</summary>

id: str

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[Literal\["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: Optional\[User]

Details of the user associated with this membership.

</summary>

id: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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>

class MemberCreateResponse: …

Member attached to a User Group.

</summary>

id: str

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: Optional\[str]

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: Optional\[Literal\["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>

class MemberUpdateResponse: …

Member attached to a User Group.

</summary>

id: str

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: Optional\[str]

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: Optional\[Literal\["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>

class MemberDeleteResponse: …

Member attached to a User Group.

</summary>

id: str

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: Optional\[str]

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: Optional\[Literal\["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)>)