# definePermissionProfile

> API reference for definePermissionProfile: parameters, properties, and return types.

Define portable custom-object grants. Assignments and editor memberships are managed separately.

```ts
import { definePermissionProfile } from '@rippling/rippling-sdk';
```

## Properties

| Property | Required | Type | Description |
| --- | --- | --- | --- |
| `apiName` | Required | `` `${string}__p` `` | — |
| `name` | Required | `string` | — |
| `rules` | Required | `readonly [PermissionProfileRule](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/PermissionProfileRule-6fc247e1)[]` | — |
| `description` | Optional | `string` | — |

[Complete options type](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefinePermissionProfileProps-3026b343)

TypeScript signature

```ts
definePermissionProfile(props: DefinePermissionProfileProps): DefinedPermissionProfile;
```

## Returns

```
DefinedPermissionProfile
```

## Availability

| Capability | Support |
| --- | --- |
| Pull into a project | Supported |
| Runtime operations | Not available for this helper |

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/definePermissionProfile

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
