From 1c84fec6ec54303e695c09586d612bbb4644ac35 Mon Sep 17 00:00:00 2001 From: Dallas Read Date: Tue, 17 Dec 2024 11:03:22 -0400 Subject: [PATCH] Mark as deprecated in openapi.yml --- content/v2/openapi.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/content/v2/openapi.yml b/content/v2/openapi.yml index e8aabc38..41fb0f07 100644 --- a/content/v2/openapi.yml +++ b/content/v2/openapi.yml @@ -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' @@ -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. @@ -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'