Registrations
Create Registration
List Registrations
Get Registration
Update Registration
ModelsExpand Collapse
class RegistrationCreateResponse: …Status of an async registration workflow.
Status of an async registration workflow.
Indicates whether the workflow reached a terminal state. A succeeded or failed state returns true; pending, in_progress, action_required, and blocked return false.
state: Literal["pending", "in_progress", "action_required", 3 more]Describes the workflow lifecycle state.
pending: The workflow awaits processing.
in_progress: Processing started. Continue polling links.self.
An internal deadline limits the duration of this state.
action_required: The workflow pauses for user action. See
context.action for details. Stop automated polling until the user
completes the required action.
blocked: A third party, such as the domain extension’s registry or
a losing registrar, prevents progress. Continue polling because the
block may resolve when the third party responds.
succeeded: Terminal state. The operation completed successfully.
completed equals true. For registrations,
context.registration contains the resulting registration resource.
failed: Terminal state. The operation failed. completed equals
true. See error.code and error.message for the reason. Require
user review before retrying.
Describes the workflow lifecycle state.
pending: The workflow awaits processing.in_progress: Processing started. Continue pollinglinks.self. An internal deadline limits the duration of this state.action_required: The workflow pauses for user action. Seecontext.actionfor details. Stop automated polling until the user completes the required action.blocked: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.succeeded: Terminal state. The operation completed successfully.completedequalstrue. For registrations,context.registrationcontains the resulting registration resource.failed: Terminal state. The operation failed.completedequalstrue. Seeerror.codeanderror.messagefor the reason. Require user review before retrying.
Provides workflow-specific data.
For domain-centric workflows, context.domain_name identifies the
workflow subject.
error: Optional[Error]Provides error details when a workflow reaches the failed state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error errors[].code values in non-2xx responses. Surface error.message to the user for context.
Provides error details when a workflow reaches the failed state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error errors[].code values in non-2xx responses. Surface error.message to the user for context.
class RegistrationListResponse: …A domain registration resource representing the current state of a registered domain.
A domain registration resource representing the current state of a registered domain.
When the domain was registered. Present when the registration resource exists.
Provides a fully qualified domain name (FQDN), including the extension
(e.g., example.com, mybrand.app). The domain name uniquely identifies
a registration. Cloudflare permits only one registration per domain, making
the domain name a natural idempotency key for registration requests.
When the domain registration expires. Ready registrations include this value; only registration_pending may return null.
status: Literal["active", "registration_pending", "expired", 3 more]Current registration status.
active: The domain operates with an active registration.
registration_pending: Registration remains in progress.
expired: The domain registration expired.
suspended: The registry suspended the domain.
redemption_period: The domain entered the redemption grace period.
pending_delete: The registry scheduled the domain for deletion.
Current registration status.
active: The domain operates with an active registration.registration_pending: Registration remains in progress.expired: The domain registration expired.suspended: The registry suspended the domain.redemption_period: The domain entered the redemption grace period.pending_delete: The registry scheduled the domain for deletion.
class RegistrationGetResponse: …A domain registration resource representing the current state of a registered domain.
A domain registration resource representing the current state of a registered domain.
When the domain was registered. Present when the registration resource exists.
Provides a fully qualified domain name (FQDN), including the extension
(e.g., example.com, mybrand.app). The domain name uniquely identifies
a registration. Cloudflare permits only one registration per domain, making
the domain name a natural idempotency key for registration requests.
When the domain registration expires. Ready registrations include this value; only registration_pending may return null.
status: Literal["active", "registration_pending", "expired", 3 more]Current registration status.
active: The domain operates with an active registration.
registration_pending: Registration remains in progress.
expired: The domain registration expired.
suspended: The registry suspended the domain.
redemption_period: The domain entered the redemption grace period.
pending_delete: The registry scheduled the domain for deletion.
Current registration status.
active: The domain operates with an active registration.registration_pending: Registration remains in progress.expired: The domain registration expired.suspended: The registry suspended the domain.redemption_period: The domain entered the redemption grace period.pending_delete: The registry scheduled the domain for deletion.
class RegistrationEditResponse: …Status of an async registration workflow.
Status of an async registration workflow.
Indicates whether the workflow reached a terminal state. A succeeded or failed state returns true; pending, in_progress, action_required, and blocked return false.
state: Literal["pending", "in_progress", "action_required", 3 more]Describes the workflow lifecycle state.
pending: The workflow awaits processing.
in_progress: Processing started. Continue polling links.self.
An internal deadline limits the duration of this state.
action_required: The workflow pauses for user action. See
context.action for details. Stop automated polling until the user
completes the required action.
blocked: A third party, such as the domain extension’s registry or
a losing registrar, prevents progress. Continue polling because the
block may resolve when the third party responds.
succeeded: Terminal state. The operation completed successfully.
completed equals true. For registrations,
context.registration contains the resulting registration resource.
failed: Terminal state. The operation failed. completed equals
true. See error.code and error.message for the reason. Require
user review before retrying.
Describes the workflow lifecycle state.
pending: The workflow awaits processing.in_progress: Processing started. Continue pollinglinks.self. An internal deadline limits the duration of this state.action_required: The workflow pauses for user action. Seecontext.actionfor details. Stop automated polling until the user completes the required action.blocked: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.succeeded: Terminal state. The operation completed successfully.completedequalstrue. For registrations,context.registrationcontains the resulting registration resource.failed: Terminal state. The operation failed.completedequalstrue. Seeerror.codeanderror.messagefor the reason. Require user review before retrying.
Provides workflow-specific data.
For domain-centric workflows, context.domain_name identifies the
workflow subject.
error: Optional[Error]Provides error details when a workflow reaches the failed state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error errors[].code values in non-2xx responses. Surface error.message to the user for context.
Provides error details when a workflow reaches the failed state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error errors[].code values in non-2xx responses. Surface error.message to the user for context.