openapi: 3.2.0 info: title: Secret Server Rest Directory Services API description: REST API documentation for Secret Server. This document describes how to use the REST API. All requests require an authentication token; please see the authentication document for more information. The Swagger specification for this API is also available. termsOfService: https://delinea.com/eula contact: name: Support url: https://delinea.com version: 11.7.2 servers: - url: /SecretServer/api security: - BearerToken: [] tags: - name: Directory Services description: View and maintain Directory Services integrations paths: /v1/directory-services/domains/{domainId}/group/{groupId}: delete: tags: - Directory Services summary: Unlink a group from domain description: Unlinking a group from a domain will disable future synchronization updates. The group will also be disabled. operationId: DirectoryServicesService_UnlinkDomainGroup parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 - name: groupId in: path description: groupId required: true schema: type: integer format: int32 responses: '200': description: Success status content: application/json: schema: description: Boolean type: boolean '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/synchronization/logs: get: tags: - Directory Services summary: Get Synchronization Log operationId: DirectoryServicesService_GetSynchronizationLog parameters: - name: filter.endDate in: query description: EndDate required: false x-nullable: true schema: type: string format: date-time - name: filter.searchText in: query description: SearchText required: false schema: type: string - name: filter.startDate in: query description: StartDate required: false x-nullable: true schema: type: string format: date-time - name: skip in: query description: Number of records to skip before taking results required: false schema: type: integer format: int32 - name: sortBy[0].direction in: query description: Sort direction required: false schema: type: string - name: sortBy[0].name in: query description: Sort field name required: false schema: type: string - name: sortBy[0].priority in: query description: Priority index. Sorts with lower values are executed earlier required: false schema: type: integer format: int32 - name: take in: query description: Maximum number of records to include in results required: false schema: type: integer format: int32 responses: '200': description: Synchronization log entries content: application/json: schema: $ref: '#/components/schemas/PagingOfDirectoryServicesSynchronizationLogEntry' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/synchronization: get: tags: - Directory Services summary: Directory Services Sync Status description: Return status of directory services synchronization operationId: DirectoryServicesService_GetSynchronizationStatus responses: '200': description: Whether or not the sync has started content: application/json: schema: $ref: '#/components/schemas/DirectoryServicesSynchronizationStatus' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains: get: tags: - Directory Services summary: Search Domains operationId: DirectoryServicesService_SearchDomains parameters: - name: filter.domainName in: query description: DomainName required: false schema: type: string - name: filter.includeInactive in: query description: IncludeInactive required: false schema: type: boolean - name: skip in: query description: Number of records to skip before taking results required: false schema: type: integer format: int32 - name: sortBy[0].direction in: query description: Sort direction required: false schema: type: string - name: sortBy[0].name in: query description: Sort field name required: false schema: type: string - name: sortBy[0].priority in: query description: Priority index. Sorts with lower values are executed earlier required: false schema: type: integer format: int32 - name: take in: query description: Maximum number of records to include in results required: false schema: type: integer format: int32 responses: '200': description: Domains that matched content: application/json: schema: $ref: '#/components/schemas/IPagingOfDomainSummaryModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false post: tags: - Directory Services summary: Create Domain description: Create a new domain to be used for directory services synchronization / integration operationId: DirectoryServicesService_CreateDomain requestBody: content: application/json: schema: $ref: '#/components/schemas/DomainCreateArgs' description: args responses: '200': description: Domain that was just created content: application/json: schema: $ref: '#/components/schemas/DomainModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/{id}: get: tags: - Directory Services summary: Get a Domain operationId: DirectoryServicesService_GetDomain parameters: - name: id in: path description: id required: true schema: type: integer format: int32 responses: '200': description: Domain that was found content: application/json: schema: $ref: '#/components/schemas/DomainModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/ldap-settings/{id}: get: tags: - Directory Services summary: Get Ldap synchronization settings for a domain operationId: DirectoryServicesService_GetLdapSyncSettings parameters: - name: id in: path description: id required: true schema: type: integer format: int32 responses: '200': description: Ldap synchronization settings for the domain content: application/json: schema: $ref: '#/components/schemas/LdapSyncSettingsViewModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/stub: get: tags: - Directory Services summary: Get a Domain Stub operationId: DirectoryServicesService_GetDomainStub parameters: - name: domainType in: query description: domainType required: false schema: type: string responses: '200': description: Domain Stub content: application/json: schema: $ref: '#/components/schemas/DomainModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/{domainId}/groups/search-directory: get: tags: - Directory Services summary: Search in the directory for groups description: Using the credentials defined on the domain search within the directory for groups operationId: DirectoryServicesService_SearchDirectoryForGroups parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 - name: searchText in: query description: 'Search text. Use * for wildcards, ex: Admin*. Leave empty to return all.' required: false schema: type: string responses: '200': description: Array of groups matching search criteria content: application/json: schema: $ref: '#/components/schemas/ExternalGroupViewModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/{domainId}/members: get: tags: - Directory Services summary: Search in the directory for members of a group description: Using the credentials defined on the domain find members of a group within the directory operationId: DirectoryServicesService_GetDirectoryGroupMembers parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 - name: domainIdentifier in: query description: The unique directory identifier for the group to be linked. For example, this is ADGuid in Active Directory required: false schema: type: string - name: groupName in: query description: Name of the Group required: false schema: type: string responses: '200': description: Array of users in the passed in group content: application/json: schema: $ref: '#/components/schemas/DirectoryServicesGroupMemberResponse' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/configuration: get: tags: - Directory Services summary: Directory Services Configuration description: Retrieve the current settings for Directory Services configuration operationId: DirectoryServicesService_GetDirectoryServicesConfiguration responses: '200': description: Directory Services Configuration content: application/json: schema: $ref: '#/components/schemas/DirectoryServicesConfigurationModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false patch: tags: - Directory Services summary: Update Directory Services Configuration description: Update the current settings for Directory Services configuration operationId: DirectoryServicesService_PatchDirectoryServicesConfiguration requestBody: content: application/json: schema: $ref: '#/components/schemas/DirectoryServicesConfigurationUpdateArgs' description: args responses: '200': description: Updated Directory Services Configuration content: application/json: schema: $ref: '#/components/schemas/DirectoryServicesConfigurationModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/ldap-settings/{domainId}: patch: tags: - Directory Services summary: Patch Ldap Sync Settings for a domain operationId: DirectoryServicesService_PatchLdapSyncSettings parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 requestBody: content: application/json: schema: $ref: '#/components/schemas/LdapSyncSettingsPatchArgs' description: args responses: '200': description: Domain that was just updated content: application/json: schema: $ref: '#/components/schemas/LdapSyncSettingsViewModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/{domainId}: patch: tags: - Directory Services summary: Patch a domain operationId: DirectoryServicesService_PatchDomain parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 requestBody: content: application/json: schema: $ref: '#/components/schemas/DomainPatchArgs' description: args responses: '200': description: Domain that was just updated content: application/json: schema: $ref: '#/components/schemas/DomainModel' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/synchronization-now: post: tags: - Directory Services summary: Synchronize all directory services description: Run synchronize to update users and groups for all configurated and enabled domains in all directories and domains operationId: DirectoryServicesService_SynchronizeNow responses: '200': description: True if the command was initiated successfully content: application/json: schema: description: Boolean type: boolean '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false /v1/directory-services/domains/{domainId}/group: post: tags: - Directory Services summary: Link a group from the directory description: Linking or adding a group to a domain will synchronize all users from the directory to SS that are members of this group. operationId: DirectoryServicesService_LinkDomainGroup parameters: - name: domainId in: path description: domainId required: true schema: type: integer format: int32 requestBody: $ref: '#/components/requestBodies/LinkExternalGroupArgs' responses: '200': description: Success status content: application/json: schema: description: Boolean type: boolean '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '403': description: Authentication failed content: application/json: schema: $ref: '#/components/schemas/AuthenticationFailedResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' deprecated: false components: schemas: ExternalGroupViewModel: description: External Groups properties: errorMessage: description: Error Message returned when populating groups array if error occurs, otherwise null type: string groups: description: Groups that matched the search criteria items: $ref: '#/components/schemas/ExternalServicesGroupModel' type: array type: object UpdateFieldValueOfOptionalInt32: description: The minimum length required for local user passwords properties: dirty: description: Dirty type: boolean value: description: Value type: - integer - 'null' format: int32 type: object DirectoryServicesConfigurationUpdateArgs: description: DirectoryServicesConfigurationUpdateArgs properties: data: $ref: '#/components/schemas/DirectoryServicesConfigurationUpdateModel' type: object UpdateFieldValueOfString: description: Description properties: dirty: description: Dirty type: boolean value: description: Value type: string type: object UpdateFieldValueOfDirectoryServicesSynchronizationUserOption: description: Indicates how to synchronize the enabled status for new and existing users properties: dirty: description: Dirty type: boolean value: $ref: '#/components/schemas/DirectoryServicesSynchronizationUserOption' type: object Sort: description: Sort options. Multiple sort options can be provided in the query string. required: - name - direction properties: direction: $ref: '#/components/schemas/SortDirection' name: description: Sort field name type: string priority: description: Priority index. Sorts with lower values are executed earlier type: integer format: int32 type: object DomainCreateArgs: description: DomainCreateArgs properties: data: $ref: '#/components/schemas/DomainCreateModel' type: object DomainActionType: description: Valid Actions properties: {} type: string enum: - EditDomain - EditGroups LinkExternalGroupSettings: description: Information about the directory group that is needed to create a link properties: domainIdentifier: description: The unique directory identifier for the group to be linked. For Active Directory this must be in hex format, NOT guid format. For example, this is ADGuid in Active Directory type: string name: description: Name of the group in the directory type: string type: object ViewFieldDropDownValueOfString: description: Base Distinguished Name Code properties: additionalLinks: description: AdditionalLinks items: $ref: '#/components/schemas/ViewFieldLink' type: array description: description: Description type: string dropDownOptions: description: DropDownOptions items: $ref: '#/components/schemas/ViewFieldDropDownOption' type: array fieldInputType: description: FieldInputType type: - string - 'null' hasHistory: description: HasHistory type: - boolean - 'null' helpLink: description: HelpLink type: string helpLinkText: description: HelpLinkText type: string hidden: description: Hidden type: - boolean - 'null' hideOnView: description: HideOnView type: - boolean - 'null' isRequired: description: IsRequired type: - boolean - 'null' label: description: Label type: string maxLength: description: MaxLength type: - integer - 'null' format: int32 name: description: Name type: string placeholder: description: Placeholder type: string readOnly: description: ReadOnly type: - boolean - 'null' readOnlyReason: description: ReadOnlyReason type: string sortOrder: description: SortOrder type: - integer - 'null' format: int32 value: description: Value type: string type: object DomainPatchModel: description: Patch update data for the domain. properties: active: $ref: '#/components/schemas/UpdateFieldValueOfBoolean' authType: $ref: '#/components/schemas/UpdateFieldValueOfOptionalAuthType' clientId: $ref: '#/components/schemas/UpdateFieldValueOfString' clientSecret: $ref: '#/components/schemas/UpdateFieldValueOfString' distinguishedName: $ref: '#/components/schemas/UpdateFieldValueOfString' domainName: $ref: '#/components/schemas/UpdateFieldValueOfString' friendlyName: $ref: '#/components/schemas/UpdateFieldValueOfString' multifactorAuthenticationProvider: $ref: '#/components/schemas/UpdateFieldValueOfMultifactorAuthenticationProviderTypes' siteId: $ref: '#/components/schemas/UpdateFieldValueOfInt32' synchronizationSecretId: $ref: '#/components/schemas/UpdateFieldValueOfOptionalInt32' tenantId: $ref: '#/components/schemas/UpdateFieldValueOfString' userAuthType: $ref: '#/components/schemas/UpdateFieldValueOfOptionalAuthType' useSecureLDAP: $ref: '#/components/schemas/UpdateFieldValueOfOptionalBoolean' type: object UpdateFieldValueOfMultifactorAuthenticationProviderTypes: description: Domain multifactor authentication provider. properties: dirty: description: Dirty type: boolean value: $ref: '#/components/schemas/MultifactorAuthenticationProviderTypes' type: object LdapSyncSettingsPatchArgs: description: LdapSyncSettingsPatchArgs properties: data: $ref: '#/components/schemas/LdapSyncSettingsPatchModel' type: object DomainPatchArgs: description: DomainPatchArgs properties: data: $ref: '#/components/schemas/DomainPatchModel' type: object ViewFieldDropDownOption: description: DropDownOptions properties: fieldDisplay: description: FieldDisplay type: string fieldValue: description: FieldValue type: string type: object DomainCreateModel: description: Data properties: active: description: Active type: boolean authType: description: AuthType for OpenLdap type: - string - 'null' clientId: description: Client ID type: string clientSecret: description: Client Secret type: string distinguishedName: description: Domain Base DN type: string domainName: description: The name of the domain. type: string domainType: $ref: '#/components/schemas/DomainType' friendlyName: description: The friendly name of the domain. type: string multifactorAuthenticationProvider: $ref: '#/components/schemas/MultifactorAuthenticationProviderTypes' siteId: description: Site Id type: - integer - 'null' format: int32 synchronizationSecretId: description: Synchronization Secret type: - integer - 'null' format: int32 tenantId: description: Tenant ID type: string userAuthType: description: UserAuthType for OpenLdap type: - string - 'null' useSecureLDAP: description: Use Secure LDAP type: - boolean - 'null' type: object Severity: description: Error severity level properties: {} type: string enum: - None - Retry - Warn - Critical - Fatal BadRequestResponse: description: Response object for invalid requests required: - message properties: message: description: Error message type: string messageDetail: description: Error message detail type: string errorCode: description: Error message code type: string modelState: description: An object describing validation errors type: object type: object DirectoryServicesSynchronizationStatus: description: Directory Synchronization Status properties: domainStatus: description: Results from the last synchronization for each domain. If a synchronization is currently running this will indicate the results for the last synchronization and not the current running totals. items: $ref: '#/components/schemas/DomainSynchronizationStatus' type: array endDateTime: description: The date and time that the last synchronization ended. If a synchronization is currently running this will be empty. type: - string - 'null' format: date-time errorCount: description: The number of errors since the last synchronization start time type: integer format: int32 estimatedPercentComplete: description: Based on last run time duration the percent complete assumes each run takes approximately the same amount of time type: integer format: int32 nextSynchronizationDateTime: description: The next time the synchronization is expected to run type: - string - 'null' format: date-time startDateTime: description: The date and time that the last synchronization started. This will be empty if a synchronization has never been run. type: - string - 'null' format: date-time type: object PagingOfDirectoryServicesSynchronizationLogEntry: description: Specify paging and sorting options for querying records and returning results properties: batchCount: description: Number of result batches available with current query options type: integer format: int32 currentPage: description: Index of current result page type: integer format: int32 hasNext: description: Whether there are any results in additional pages type: boolean hasPrev: description: Whether there are any results in previous pages type: boolean nextSkip: description: Correct value of 'skip' for the next page of results type: integer format: int32 pageCount: description: Number of result pages available with current query options type: integer format: int32 prevSkip: description: Correct value of 'skip' for the previous page of results type: integer format: int32 records: description: Query results items: $ref: '#/components/schemas/DirectoryServicesSynchronizationLogEntry' type: array severity: $ref: '#/components/schemas/Severity' skip: description: Number of records to skip before taking results type: integer format: int32 sortBy: description: List of sort properties items: $ref: '#/components/schemas/Sort' type: array success: description: Whether the query executed successfully type: boolean take: description: Maximum number of records to include in results type: integer format: int32 total: description: Total number of results available type: integer format: int32 type: object DirectoryServicesSynchronizationUserOption: description: Indicates how to synchronize the enabled status for new and existing users properties: {} type: string enum: - ImportEnabled - ImportDisabled - MirrorDirectory UpdateFieldValueOfOptionalBoolean: description: Use RADIUS Username for DUO properties: dirty: description: Dirty type: boolean value: description: Value type: - boolean - 'null' type: object ViewFieldValueOfString: description: GeneratedToken properties: additionalLinks: description: AdditionalLinks items: $ref: '#/components/schemas/ViewFieldLink' type: array description: description: Description type: string fieldInputType: description: FieldInputType type: - string - 'null' hasHistory: description: HasHistory type: - boolean - 'null' helpLink: description: HelpLink type: string helpLinkText: description: HelpLinkText type: string hidden: description: Hidden type: - boolean - 'null' hideOnView: description: HideOnView type: - boolean - 'null' isRequired: description: IsRequired type: - boolean - 'null' label: description: Label type: string maxLength: description: MaxLength type: - integer - 'null' format: int32 name: description: Name type: string placeholder: description: Placeholder type: string readOnly: description: ReadOnly type: - boolean - 'null' readOnlyReason: description: ReadOnlyReason type: string sortOrder: description: SortOrder type: - integer - 'null' format: int32 value: description: Value type: string type: object ExternalServicesGroupModel: description: Directory Group properties: dsGuid: description: Unique Identifier of the Group type: string name: description: Name Guid of the Group type: string type: object DirectoryServicesConfigurationUpdateModel: description: The fields to update on the Directory Services configuration. properties: daysToKeepOperationalLogs: $ref: '#/components/schemas/UpdateFieldValueOfInt32' disableInactiveUsersMonths: $ref: '#/components/schemas/UpdateFieldValueOfInt32' enableDirectoryIntegration: $ref: '#/components/schemas/UpdateFieldValueOfBoolean' enableDirectorySynchronization: $ref: '#/components/schemas/UpdateFieldValueOfBoolean' enableIntegratedWindowsAuthentication: $ref: '#/components/schemas/UpdateFieldValueOfBoolean' enableUserDisabling: $ref: '#/components/schemas/UpdateFieldValueOfBoolean' synchronizationIntervalDays: $ref: '#/components/schemas/UpdateFieldValueOfInt32' synchronizationIntervalHours: $ref: '#/components/schemas/UpdateFieldValueOfInt32' synchronizationIntervalMinutes: $ref: '#/components/schemas/UpdateFieldValueOfInt32' userAccountOptions: $ref: '#/components/schemas/UpdateFieldValueOfDirectoryServicesSynchronizationUserOption' type: object LinkExternalGroupArgs: description: LinkExternalGroupArgs properties: data: $ref: '#/components/schemas/LinkExternalGroupSettings' type: object SortDirection: description: Sort direction properties: {} type: string enum: - None - Asc - Desc IPagingOfDomainSummaryModel: description: IPagingOfDomainSummaryModel properties: records: description: Records items: $ref: '#/components/schemas/DomainSummaryModel' type: array sortBy: description: SortBy items: $ref: '#/components/schemas/Sort' type: array type: object UpdateFieldValueOfOptionalAuthType: description: AuthType for OpenLdap properties: dirty: description: Dirty type: boolean value: description: Value type: - string - 'null' type: object DirectoryServicesConfigurationModel: description: Directory Services Configuration properties: daysToKeepOperationalLogs: description: How long to keep operational logs type: integer format: int32 disableInactiveUsersMonths: description: How long to wait before disabling inactive users type: integer format: int32 enableDirectoryIntegration: description: Whether or not any Directory Services integrations are enabled or not type: boolean enableDirectorySynchronization: description: Synchronize users and group membership on a time interval type: boolean enableIntegratedWindowsAuthentication: description: Integrated Windows Authentication (IWA) allows users to log into Secret Server automatically if they are logged into a workstation with their Active Directory credentials. type: boolean enableUserDisabling: description: When enabled inactive users will be automatically disabled regardless of their Directory status type: boolean synchronizationIntervalDays: description: Synchronize days interval for users and group membership type: integer format: int32 synchronizationIntervalHours: description: Synchronize hours interval for users and group membership type: integer format: int32 synchronizationIntervalMinutes: description: Synchronize minutes interval for users and group membership type: integer format: int32 userAccountOptions: $ref: '#/components/schemas/DirectoryServicesSynchronizationUserOption' type: object DirectoryGroupUserViewModel: description: Directory Group User properties: displayName: description: Display Name of the user type: string type: object AuthenticationFailedResponse: description: Response object for authentication failures required: - message properties: message: description: Error message type: string type: object DomainSummaryModel: description: Domain Summary properties: active: description: Active type: boolean domainId: description: Domain Id type: integer format: int32 domainName: description: Domain Name type: string domainType: $ref: '#/components/schemas/DomainType' friendlyName: description: Friendly Name type: string requireRadiusAuthentication: description: Require Radius Authentication type: boolean useSecureLdap: description: Use Secure LDAP type: boolean type: object LdapSyncSettingsViewModel: description: LdapSyncSettingsViewModel properties: actions: description: Valid Actions items: $ref: '#/components/schemas/DomainActionType' type: array baseDnCode: $ref: '#/components/schemas/ViewFieldDropDownValueOfString' displayNameAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' domainId: description: Domain Id type: - integer - 'null' format: int32 emailAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' groupMemberAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' groupNameAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' groupObjectClasses: $ref: '#/components/schemas/ViewFieldValueOfString' groupSearchFilter: $ref: '#/components/schemas/ViewFieldValueOfString' guidAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' usernameAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' userObjectClasses: $ref: '#/components/schemas/ViewFieldValueOfString' userPrincipalNameAttribute: $ref: '#/components/schemas/ViewFieldValueOfString' type: object DirectoryServicesSynchronizationLogEntry: description: Query results properties: createdOn: description: CreatedOn type: string format: date-time machineName: description: MachineName type: string text: description: Text type: string type: object DomainSynchronizationStatus: description: Results of the last synchronization for this domain properties: disabledUsers: description: Number of users that were disabled type: integer format: int32 domainId: description: Which domain is this status for type: integer format: int32 domainUsersUpdatedSinceLastSynchronization: description: Obsolete - Not populated. type: integer format: int32 lastLogEntry: description: Log Entry used for parsing type: string newUsersCreated: description: Total new users that were created type: integer format: int32 newUsersCreatedAsDisabled: description: Total new users that were created and then set as disabled due to either license limits or other settings type: integer format: int32 usersRemovedFromGroups: description: Total users removed from groups type: integer format: int32 usersWithGroupMembershipChanges: description: Total number of users that were added or removed from any group in this domain type: integer format: int32 type: object UpdateFieldValueOfBoolean: description: Active properties: dirty: description: Dirty type: boolean value: description: Value type: boolean type: object UpdateFieldValueOfInt32: description: How many days until the password expires. properties: dirty: description: Dirty type: boolean value: description: Value type: integer format: int32 type: object DomainModel: description: Domain properties: active: description: Active type: boolean domainId: description: Domain Id type: - integer - 'null' format: int32 domainName: description: Domain Name type: string friendlyName: description: Friendly Name type: string multifactorAuthenticationProvider: $ref: '#/components/schemas/MultifactorAuthenticationProviderTypes' siteId: description: Site Id type: integer format: int32 synchronizationSecretId: description: Synchronization Secret type: - integer - 'null' format: int32 useSecureLDAP: description: Use Secure LDAP type: boolean type: object InternalServerErrorResponse: description: Response object for internal server errors required: - message - exceptionMessage - exceptionType - stackTrace properties: message: description: Error message type: string exceptionMessage: description: Error message from exception type: string exceptionType: description: Exception type type: string stackTrace: description: Exception stack trace type: string type: object ViewFieldLink: description: AdditionalLinks properties: isExternal: description: IsExternal type: boolean linkText: description: LinkText type: string url: description: Url type: string type: object MultifactorAuthenticationProviderTypes: description: Domain multifactor authentication providers. properties: {} type: string enum: - None - Radius - TOTPAuthenticator - Duo - Fido2 - Email DomainType: description: Domain Type properties: {} type: string enum: - ActiveDirectory - OpenLdap - AzureActiveDirectory DirectoryServicesGroupMemberResponse: description: Group Member Response properties: errorMessage: description: Indicates if an error message occurred type: string members: description: Members of the group items: $ref: '#/components/schemas/DirectoryGroupUserViewModel' type: array type: object LdapSyncSettingsPatchModel: description: Patch update data for the Ldap Sync Settings. properties: baseDnCode: $ref: '#/components/schemas/UpdateFieldValueOfString' displayNameAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' emailAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' groupMemberAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' groupNameAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' groupObjectClasses: $ref: '#/components/schemas/UpdateFieldValueOfString' groupSearchFilter: $ref: '#/components/schemas/UpdateFieldValueOfString' guidAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' usernameAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' userObjectClasses: $ref: '#/components/schemas/UpdateFieldValueOfString' userPrincipalNameAttribute: $ref: '#/components/schemas/UpdateFieldValueOfString' type: object requestBodies: LinkExternalGroupArgs: content: application/json: schema: $ref: '#/components/schemas/LinkExternalGroupArgs' description: args securitySchemes: BearerToken: type: apiKey description: 'Perform a POST request to `/oauth2/token`. It should include three form data parameters - `username`, `password`, and `grant_type`.The `grant_type` parameter should always have the value `password`.The access token returned should be included in the header of subsequent requests, like ''Authorization: Bearer token''. The token remains valid for a time period returned in the ''expires_in'' property (in seconds). For details, see the token request documentation.' name: Authorization in: header