Skip to content

Commit 6192fd9

Browse files
authored
Deprecation: Remove contact_id field from Certificate schema (#987)
This PR tracks the work to complete the deprecation and removal of the `contact_id` field from the Certificate schema.
1 parent d329264 commit 6192fd9

4 files changed

Lines changed: 11 additions & 22 deletions

File tree

DEPRECATIONS.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ The endpoint `GET /:account/registrar/domains/:domain/premium_price` was used to
2222

2323
### 2022-05-17 - Certificate contact_id field
2424

25-
The `contact_id` field in Certificate schema has been deprecated. It is no longer a required field for certificate operations and its value is ignored on input. The field is still emitted on responses for backwards compatibility.
25+
The `contact_id` field in Certificate schema has been deprecated. It is no longer a required field for certificate operations and its value is ignored on input.
2626

27-
**Removal Date:** N/A
27+
**Removal Date:** 2026-04-16
2828

2929
**Replacement:** None. This field is no longer required.
3030

3131
**Client Status:**
3232

33-
- Ruby: Flagged ([#276](https://github.com/dnsimple/dnsimple-ruby/pull/276))
34-
- Go: Flagged
35-
- Elixir: Not started
36-
- Node.js: Not started
37-
- Java: Complete
38-
- C#: Flagged
39-
- PHP: Flagged
40-
- Python: Flagged
41-
- Rust: Flagged (tracked in [dnsimple-rust#105](https://github.com/dnsimple/dnsimple-rust/issues/105))
33+
- Ruby: [Complete](https://github.com/dnsimple/dnsimple-ruby/pull/465)
34+
- Go: [Complete](https://github.com/dnsimple/dnsimple-go/pull/256)
35+
- Elixir: [Complete](https://github.com/dnsimple/dnsimple-elixir/pull/328)
36+
- Node.js: [Complete](https://github.com/dnsimple/dnsimple-node/pull/285)
37+
- Java: [Complete](https://github.com/dnsimple/dnsimple-java/pull/146)
38+
- C#: [Complete](https://github.com/dnsimple/dnsimple-csharp/pull/236)
39+
- PHP: [Complete](https://github.com/dnsimple/dnsimple-php/pull/164)
40+
- Python: [Complete](https://github.com/dnsimple/dnsimple-python/pull/501)
41+
- Rust: [Complete](https://github.com/dnsimple/dnsimple-rust/pull/108)
4242

4343
### 2021-01-25 - Email forwarding `from` field
4444

content/use-cases/issue-certificates.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,10 @@ When your customer registers a domain through your service, or delegates it for
4949

5050
[lib/app/dnsimple.rb](https://github.com/dnsimple/dnsimple-api-examples/blob/main/ruby/use_cases/issue_certificates/lib/app/dnsimple.rb#L16)
5151

52-
> [!WARNING] Deprecated since 01 June 2022
53-
> The `contact_id` field in Certificate schema has been deprecated. It is no longer a required field for certificate operations.
54-
5552
```ruby
5653
post '/issue_certificate' do
5754
certificate_order = App::DnsimpleAdapter.purchase_letsencrypt_certificate(
5855
parsed_request_body['domain'],
59-
App.config.dnsimple['contact_id'],
6056
name: parsed_request_body['name'],
6157
alternate_names: parsed_request_body['san']&.split(','),
6258
auto_renew: parsed_request_body.fetch('auto_renew', true)

content/v2/certificates.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ excerpt: This page documents the DNSimple certificates API v2.
1111

1212
## Certificate attributes {#certificate-attributes}
1313

14-
> [!WARNING] Deprecated since 01 June 2022
15-
> The `contact_id` field in Certificate schema has been deprecated. It is no longer a required field for certificate operations.
16-
1714
Please refer to the definition of the `Certificate` data type in [our OpenAPI documentation](/v2/openapi.yml).
1815

1916

content/v2/openapi.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3688,7 +3688,6 @@ components:
36883688
required:
36893689
- id
36903690
- domain_id
3691-
- contact_id
36923691
- name
36933692
- common_name
36943693
- years
@@ -3706,9 +3705,6 @@ components:
37063705
type: integer
37073706
domain_id:
37083707
type: integer
3709-
contact_id:
3710-
type: integer
3711-
deprecated: true
37123708
name:
37133709
type: string
37143710
common_name:

0 commit comments

Comments
 (0)