Share resource with team
POST
/v1/teams/{teamId}/resource-sharesShare an owned resource with a team. Requires team admin role and a Team plan.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| teamId | path | string | Yes | — |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| resourceType | project | environment | agent | imagine_template | Yes | — |
| resourceId | string | Yes | — |
| accessLevel | use | edit | manage | No | — |
| metadata | object | No | Free-form metadata object. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
201Resource shared with teamapplication/json
None.