function · Browser and Node

# registerProfile

Adds an action vocabulary. Registering the same definition twice is fine; a different one under a known id is refused.

`@toip-tools/mandates` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/profiles.ts#L43)

Import:

```ts
import { registerProfile } from "@toip-tools/mandates";
```

## Declaration

Signature:

```ts
registerProfile(p: Profile): void;
```

### Parameters

- **`p` (required)**: `Profile`

### Returns

`void`

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/registerProfile/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
