organizations
This section covers the Organizations model and the OrganizationFinder class used to create, configure and query organizations.
This section covers the Organizations model and the OrganizationFinder class used to create, configure and query organizations.
This class allows making GET requests to the domains resource in the OpenGate North API.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | domain name. |
Tipo: Promise
This class allows making GET requests to the organization resource in the OpenGate North API.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Performs a get that returns organizations related
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| domain | string |
❌ | domain |
| workgroup | string |
❌ | workgroup. |
Tipo: Promise
Find a specify organization by a name. This execute a GET http method
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | Organization name |
Tipo: Promise
This is a base object that contains everything you can do with Organizations.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Sets the auth security configuration
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| auth | object |
❌ |
Tipo: Organizations
Set the country code attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| countryCode | string |
❌ |
Tipo: Organizations
Set the description attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| description | string |
❌ |
Tipo: Organizations
Set the parent domain
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| domain | string |
❌ |
Tipo: Organizations
Set the lang code attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| langCode | string |
❌ |
Tipo: Organizations
Sets the map location attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| latitude | number |
❌ | |
| longitude | number |
❌ |
Tipo: Organizations
Set the name attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Tipo: Organizations
Set the onlyAssignedDomainCertificates attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| onlyDomainCerts | boolean |
❌ | required field |
Tipo: Organizations
Sets the password poliicy configuration
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| passPolicy | object |
❌ |
Tipo: Organizations
Set the plan attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| plan | string |
❌ |
Tipo: Organizations
Set the time zone attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| timeZone | string |
❌ |
Tipo: Organizations
Sets the map zoom attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| zoom | number |
❌ |
Tipo: Organizations