# Functions

These methods allow you to create and manage functions on your Neon branches.

## Operations

| Method | Path | Operation |
| --- | --- | --- |
| `GET` | `/projects/{project_id}/branches/{branch_id}/custom-domains` | [List the custom domains on a branch](../listprojectbranchcustomdomains.md) |
| `POST` | `/projects/{project_id}/branches/{branch_id}/custom-domains` | [Register a custom domain on a branch](../registerprojectbranchcustomdomain.md) |
| `DELETE` | `/projects/{project_id}/branches/{branch_id}/custom-domains/{domain}` | [Delete a custom domain from a branch](../deleteprojectbranchcustomdomain.md) |
| `GET` | `/projects/{project_id}/branches/{branch_id}/functions` | [List functions on the branch](../listprojectbranchfunctions.md) |
| `DELETE` | `/projects/{project_id}/branches/{branch_id}/functions/{slug}` | [Delete a function on the branch](../deleteprojectbranchfunction.md) |
| `GET` | `/projects/{project_id}/branches/{branch_id}/functions/{slug}` | [Get function details](../getprojectbranchfunction.md) |
| `PATCH` | `/projects/{project_id}/branches/{branch_id}/functions/{slug}` | [Update a function](../updateprojectbranchfunction.md) |
| `POST` | `/projects/{project_id}/branches/{branch_id}/functions/{slug}/deployments` | [Deploy code to a function](../createprojectbranchfunctiondeployment.md) |
| `GET` | `/projects/{project_id}/branches/{branch_id}/triggers` | [List triggers on the branch](../listprojectbranchtriggers.md) |
| `POST` | `/projects/{project_id}/branches/{branch_id}/triggers` | [Create a trigger](../createprojectbranchtrigger.md) |
| `DELETE` | `/projects/{project_id}/branches/{branch_id}/triggers/{trigger_id}` | [Delete a trigger](../deleteprojectbranchtrigger.md) |
| `GET` | `/projects/{project_id}/branches/{branch_id}/triggers/{trigger_id}` | [Get a trigger](../getprojectbranchtrigger.md) |
| `PATCH` | `/projects/{project_id}/branches/{branch_id}/triggers/{trigger_id}` | [Update a trigger](../updateprojectbranchtrigger.md) |

## Related pages

- [Accept a project transfer request](../acceptprojecttransferrequest.md)
- [Add an OAuth provider](../addneonauthoauthprovider.md)
- [Add an OAuth provider](../addbranchneonauthoauthprovider.md)
- [Add domain to redirect_uri whitelist](../addbranchneonauthtrusteddomain.md)
- [Add JWKS URL](../addprojectjwks.md)
- [Add trusted redirect URI domain](../addneonauthdomaintoredirecturiwhitelist.md)
- [AI Gateway](./ai-gateway.md)
- [API Key](./api-key.md)
- [Assign or update VPC endpoint](../assignorganizationvpcendpoint.md)
- [Auth](./auth.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
