pem.setDomainRegistrarStatus

This method is supported by Operations starting from version 2.3.

This method sets new registrar status for given Domain in Operations.

The method has the following input parameters:

Name

Type

Short Description

[domain_id]

int

ID of Domain, if specified – the domain_name parameter is ignored

domain_name

string

The name of Domain.

registrar_status

int

This parameter indicates the new registrar domain status. It can take the following values:

  • 0 – Domain check result is undefined.
  • 1 – Domain is not registered.
  • 2 – Domain is registered.

The method has no output parameters.

Note: This method can also be called under Reseller permissions.