---
schema_version: "1"
id: 1ee9a8212e9f04a9cf298fa079cd36a0190ea4f89b36832308f501a87ccc7cb9
title: UserAccessPolicyAction
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_useraccesspolicyaction.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_useraccesspolicyaction.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 81195ec12235c843544c2a1f8165d370dbf2c0add3de4e4f14b907c0297e1ef5
description: Represents an action applied by the user access policy. This object is available in API version 57.0 and later.
---
# UserAccessPolicyAction

Represents an action applied by the user access policy. This object is available in API version 57.0 and later.

## Supported SOAP API Calls

create(), delete(), describeSObjects(), query(), retrieve(), update() , upsert()

## Supported REST API Methods

GET, POST, PATCH, DELETE, HEAD, Query

## Special Access Rules

To create or modify user access policies, users must have the Manage User Access Policies permission.

## Fields

| Field | Details |
| --- | --- |
| Action | 
Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Indicates whether the user access policy grants access to or removes access from the target access mechanism.

Possible values are:

- Grant
- Revoke





 |
| TargetId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the access mechanism that the user access policy applies.

This field is a polymorphic relationship field.

Relationship Name

Target

Relationship Type

Lookup

Refers To

Group, Queue, PermissionSet, PermissionSetGroup



 |

## Usage

For more information, see [User Access Policies](https://help.salesforce.com/s/articleView?id=platform.perm_user_access_policies.htm&type=5&language=en_US) in Salesforce Help.