connections

POST /v1/registrar-accounts/{connectionId}/refresh

Re-read one linked registrar account now.

ចំណុចបញ្ចប់ connections ទាំងអស់

ឯកសារអ្នកអភិវឌ្ឍន៍ទាំងអស់

ការផ្ទៀងផ្ទាត់ភាពត្រឹមត្រូវ

បញ្ជូនសោ API ជា bearer token។ សោនេះត្រូវតែមានសិទ្ធិ connections.manage។ សោដែលគ្មានសិទ្ធិនេះនឹងត្រូវបដិសេធដោយកូដ 403 មិនមែន 404 ទេ។

ចំនុចបញ្ចប់នេះមិនត្រូវការលេខសម្គាល់ស្ថាប័នទេ។ ពស័្ដកូនរបស់អ្នករួចហើយកំណត់អត្តសញ្ញាណស្ថាប័នដែលវាជាកម្មសិទ្ធិ ហើយការឆ្លើយតបគឺត្រូវបានកំណត់វិសាលភាពទៅតាមនោះ។

សាកល្បង

ជំនួសអ្វីមួយនៅក្នុងសញ្ញាពងក្រពើ < > ដោយប្រើតម្លៃផ្ទាល់ខ្លួនរបស់អ្នក ហើយជំនួសកន្លែងរក្សាទុកសោដោយប្រើសោចេញពីផ្ទាំងគ្រប់គ្រងរបស់អ្នក។

curl -X POST https://api.zinndigital.com/v1/registrar-accounts/{connectionId}/refresh \
  -H "Authorization: Bearer zdk_live_…"

បានចូលគណនីរួចហើយមែនទេ? កុងសូល API ក្នុងផ្ទាំងគ្រប់គ្រងរបស់អ្នក បំពេញលេខសម្គាល់ស្ថាប័នពិតប្រាកដរបស់អ្នក និងសោផ្ទាល់ខ្លួនរបស់អ្នក ហើយដំណើរការសំណើទល់នឹង API ផ្ទាល់ ដូច្នេះអ្នកអាចមើលឃើញការឆ្លើយតបពិតប្រាកដ។ បើកចំណុចបញ្ចប់នេះក្នុងកុងសូល API

ព័ត៌មានលម្អិត

Asks the registrar for the account's current domain list and reconciles it: new domains appear, changed ones are updated, and domains the account no longer lists are retired. ⛔ retired is reported rather than swallowed. A refresh that retires forty domains is either a transfer the customer made or a key that has lost access, and both need saying out loud. ⛔ A registrar that refuses answers 200 with refused set, not a 5xx. The customer's own key or their registrar declined — that is an answer they can act on, and an error status makes the client render an anonymous failure where a specific, fixable sentence belongs. When refused is set every count is 0 and nothing was retired: a vendor outage is not a portfolio change. Spends the customer's own vendor quota, so it requires connections.manage.

ប៉ារ៉ាម៉ែត្រ

ឈ្មោះប្រភេទតម្រូវការតើវាជាអ្វី
connectionId (path)Uuidបាទ/ចាសThe MCP connection's id.

ផ្អាកដំណើរការ

ឈ្មោះប្រភេទតម្រូវការតើវាជាអ្វី
refusedstringបាទ/ចាសEmpty on success. Otherwise a machine reason (listing_failed, no_driver) — and when it is set, every count below is 0 and nothing was retired, because a failure to read is…
vendorstringបាទ/ចាស
seenintegerបាទ/ចាសDomains the registrar listed.
createdintegerបាទ/ចាស
updatedintegerបាទ/ចាស
retiredintegerបាទ/ចាសDomains the account stopped listing, marked gone rather than deleted. ⛔ Shown to the customer, never swallowed: it is either a transfer they made or a key that lost access.

កំហុសដែលចំណុចបញ្ចប់នេះអាចបង្វិលត្រឡប់មកវិញ

401 · 403 · 404 · 422 · 429