---
title: "Access Policy Assignment"
description: "Explore Access Policy Assignment, a key object in our platform for seamless policy management and development acceleration. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/reference/types/accessPolicyAssignment"
---

# <a id="top"></a>Access Policy Assignment

An Object

1.  [Platform](/documentation/gitana/4.0/reference/types/platform.md)
2.  [Access Policy Assignment](/documentation/gitana/4.0/reference/types/accessPolicyAssignment.md)

##### Table of Contents

- [Overview](#top "Overview")
- [Parent](#parent "Parent")
- [Properties](#properties "Properties")
- [Schema](#schema "Schema")

> **Note:** Drop in one of our language drivers to accelerate your development.  
> Here are links to some of our popular [Cookbooks](/documentation/gitana/4.0/developers/cookbooks/overview.md) to help you get started!
> 
> - [C#](/documentation/gitana/4.0/developers/cookbooks/csharp.md)
> - [Go](/documentation/gitana/4.0/developers/cookbooks/go.md)
> - [Java](/documentation/gitana/4.0/developers/cookbooks/java.md)
> - [JavaScript](/documentation/gitana/4.0/developers/cookbooks/javascript2.md)
> - [PHP](/documentation/gitana/4.0/developers/cookbooks/php.md)
> - [Python](/documentation/gitana/4.0/developers/cookbooks/python.md)
> - [Ruby](/documentation/gitana/4.0/developers/cookbooks/ruby.md)

## <a id="parent"></a>Parent

This Access Policy Assignment is contained within a [Platform](/documentation/gitana/4.0/reference/types/platform.md).

## <a id="properties"></a>Properties

The following properties are available:

| Property | Type | Default | Read-Only | Description |
| --- | --- | --- | --- | --- |
| \_doc | string |  | No | The primary ID |
| \_system | object |  | No | Metadata maintained by the system |
| policyId | string |  | No |  |
| targetId | string |  | No |  |
| targetRef | string |  | No |  |
| targetType | string |  | No |  |

## <a id="schema"></a>Schema

```json

{
  "type": "object",
  "extends": "document",
  "description": "Access Policy Assignment",
  "container": "platform",
  "properties": {
    "policyId": {
      "type": "string"
    },
    "targetType": {
      "type": "string"
    },
    "targetId": {
      "type": "string"
    },
    "targetRef": {
      "type": "string"
    },
    "_doc": null,
    "_system": null
  },
  "id": "accessPolicyAssignment"
}
```
