---
title: "Rattacher une ressource à un projet"
method: POST
path: "/api/v1/resources"
tags: ["Control Plane"]
---

# Rattacher une ressource à un projet

`POST /api/v1/resources`

## Request

- Base URL: `https://arcadeops.leadalpes.fr`
- URL: `https://arcadeops.leadalpes.fr/api/v1/resources`
- Auth: none declared

Rattacher une ressource à un projet.

## Request body

- object
  - `projectId` string, required
  - `connectedAccountId` string, nullable
  - `type` 'GITHUB_REPOSITORY' | 'LOCAL_FOLDER' | 'GOOGLE_DRIVE_FOLDER' | 'VERCEL_PROJECT' | 'SUPABASE_PROJECT' | 'NOTION_SPACE' | 'SLACK_CHANNEL' | 'N8N_WORKFLOW' | 'DASHBOARD' | 'GENERIC_URL', required
  - `name` string, required
  - `uri` string, required
  - `environment` 'PERSONAL' | 'DEVELOPMENT' | 'STAGING' | 'PRODUCTION'
  - `description` string, nullable
  - `verificationStatus` 'VERIFIED' | 'UNVERIFIED' | 'FAILED'
  - `metadata` object

## Response `201`

Créé

- object

---

[API](https://skmtc.dev/leadalpes/apis/arcadeops-api.md) · [All operations](https://skmtc.dev/leadalpes/apis/arcadeops-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leadalpes/apis/arcadeops-api/revisions/f10422ec7412?raw)
