@@ -19,6 +19,7 @@ public partial class DomainsService
19
19
/// <param name="domainIdentifier">The domain name or id</param>
20
20
/// <returns>A list of collaborators wrapped in a response</returns>
21
21
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#listDomainCollaborators</see>
22
+ [ Obsolete ( "Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature." ) ]
22
23
public PaginatedResponse < Collaborator > ListCollaborators ( long accountId , string domainIdentifier )
23
24
{
24
25
var builder = BuildRequestForPath ( CollaboratorsPath ( accountId , domainIdentifier ) ) ;
@@ -34,6 +35,7 @@ public PaginatedResponse<Collaborator> ListCollaborators(long accountId, string
34
35
/// <param name="email">The email of the collaborator to be added/invited</param>
35
36
/// <returns>The collaborator wrapped in a response.</returns>
36
37
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#addDomainCollaborator</see>
38
+ [ Obsolete ( "Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature." ) ]
37
39
public SimpleResponse < Collaborator > AddCollaborator ( long accountId , string domainIdentifier , string email )
38
40
{
39
41
if ( string . IsNullOrEmpty ( email ) )
@@ -58,6 +60,7 @@ public SimpleResponse<Collaborator> AddCollaborator(long accountId, string domai
58
60
/// <param name="domainIdentifier">The domain name or id</param>
59
61
/// <param name="collaboratorId">The collaborator id</param>
60
62
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#removeDomainCollaborator</see>
63
+ [ Obsolete ( "Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature." ) ]
61
64
public EmptyResponse RemoveCollaborator ( long accountId , string domainIdentifier , long collaboratorId )
62
65
{
63
66
var builder = BuildRequestForPath ( RemoveCollaboratorPath ( accountId , domainIdentifier , collaboratorId ) ) ;
0 commit comments