Skip to content

Commit

Permalink
Mark as deprecated in openapi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dallasread committed Dec 17, 2024
1 parent 0b9d5d4 commit 1c84fec
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions content/v2/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ paths:
summary: Delete a domain
'/{account}/domains/{domain}/collaborators':
get:
description: Lists collaborators for the domain.
deprecated: true
description: |-
Deprecated in favor of Domain Access Control.
Lists collaborators for the domain.
parameters:
- $ref: '#/components/parameters/Account'
- $ref: '#/components/parameters/Domain'
Expand All @@ -215,7 +219,10 @@ paths:
$ref: '#/components/responses/404'
summary: List collaborators
post:
deprecated: true
description: |-
Deprecated in favor of Domain Access Control.
Adds a collaborator to the domain.
At the time of the add, a collaborator may or may not have a DNSimple account. In case the collaborator doesn't have a DNSimple account, the system will invite them to register to DNSimple first and then to accept the collaboration invitation. In the other case, they are automatically added to the domain as collaborator. They can decide to reject the invitation later.
Expand Down Expand Up @@ -243,8 +250,12 @@ paths:
$ref: '#/components/responses/404'
summary: Add a collaborator
'/{account}/domains/{domain}/collaborators/{collaborator}':
deprecated: true
delete:
description: Removes a collaborator from the domain.
description: |-
Deprecated in favor of Domain Access Control.
Removes a collaborator from the domain.
parameters:
- $ref: '#/components/parameters/Account'
- $ref: '#/components/parameters/Domain'
Expand Down

0 comments on commit 1c84fec

Please sign in to comment.