Skip to content

Commit a21245d

Browse files
Automated build docs: 2026-01-25 03:05:49
1 parent 22437ce commit a21245d

3 files changed

Lines changed: 58 additions & 24 deletions

File tree

defs/asana_oas.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4858,6 +4858,8 @@ components:
48584858
description: >-
48594859
The privacy setting of the project. *Note: Administrators in your
48604860
organization may restrict the values of `privacy_setting`.*
4861+
The value `private_to_team` is deprecated. Use `POST /memberships`
4862+
to share a project with a team after creation.
48614863
type: string
48624864
enum:
48634865
- public_to_workspace
@@ -5251,7 +5253,10 @@ components:
52515253
example: '12345'
52525254
team:
52535255
description: >-
5254-
The team that this project is shared with.
5256+
*Deprecated:* The team to share this project with is deprecated.
5257+
Use `POST /memberships` with `{ parent: project, member: team }`
5258+
to share a project with a team after creation.
5259+
deprecated: true
52555260
type: string
52565261
example: '12345'
52575262
workspace:
@@ -5629,8 +5634,10 @@ components:
56295634
example: true
56305635
privacy_setting:
56315636
description: >-
5632-
The privacy setting of the project. *Note: Administrators in your organization
5633-
may restrict the values of `privacy_setting`.*
5637+
The privacy setting of the project. *Note: Administrators in your
5638+
organization may restrict the values of `privacy_setting`.*
5639+
The value `private_to_team` is deprecated. Use `POST /memberships`
5640+
to share a project with a team after creation.
56345641
type: string
56355642
enum:
56365643
- public_to_workspace
@@ -29145,6 +29152,13 @@ paths:
2914529152
supply a `team` to share the project with.
2914629153

2914729154
Returns the full record of the newly created project.
29155+
29156+
**Deprecation notice:** The `team` parameter and the `private_to_team`
29157+
value for `privacy_setting` are deprecated. When either is included in
29158+
the request, the `Asana-Change` response header will indicate an affected
29159+
deprecation. Clients should switch to using `POST /memberships` with
29160+
`{ parent: project, member: team }` to share a project with a team after
29161+
creation.
2914829162
tags:
2914929163
- Projects
2915029164
operationId: createProject

0 commit comments

Comments
 (0)