openapi: 3.2.0 info: title: Trustarc User Profiles Users API version: v1 description: 'Operations tagged UserProfiles-Users across 2 of this provider''s published API definitions: trustarc-guardian-openapi.json, trustarc-guardian-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://login.truste.com description: Generated server url tags: - name: UserProfiles-Users paths: /api/v1/userprofiles/{userProfId}/users/{userId}: put: tags: - UserProfiles-Users operationId: update_3 parameters: - name: userProfId in: path required: true schema: type: string - name: userId in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/UserProfileUser' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/UserProfileUser' security: - guardianAuth: [] servers: - url: https://login.truste.com description: Generated server url /api/v1/userprofiles/{userProfId}/users: get: tags: - UserProfiles-Users operationId: listById parameters: - name: userProfId in: path required: true schema: type: string - name: accountId in: query required: false schema: type: string default: '' - name: name in: query required: false schema: type: string default: '' - name: page in: query description: Results page you want to retrieve (0..N). schema: default: 0 minimum: 0 - name: size in: query description: Number of recods per page. schema: default: 10 minimum: 1 - name: sort in: query description: 'Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.' schema: type: array items: {} responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/PageUserProfileUser' security: - guardianAuth: [] post: tags: - UserProfiles-Users operationId: create_3 parameters: - name: userProfId in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/UserCredentials' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/UserProfileUser' security: - guardianAuth: [] servers: - url: https://login.truste.com description: Generated server url /api/v1/userprofiles/default/{userId}: post: tags: - UserProfiles-Users operationId: setDefault parameters: - name: userId in: path required: true schema: type: string responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/UserProfileUser' security: - guardianAuth: [] servers: - url: https://login.truste.com description: Generated server url /api/v1/userprofiles/username/{username}/users: get: tags: - UserProfiles-Users operationId: listByUsername parameters: - name: username in: path required: true schema: type: string - name: accountId in: query required: false schema: type: string default: '' - name: name in: query required: false schema: type: string default: '' - name: page in: query description: Results page you want to retrieve (0..N). schema: default: 0 minimum: 0 - name: size in: query description: Number of recods per page. schema: default: 10 minimum: 1 - name: sort in: query description: 'Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.' schema: type: array items: {} responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/PageUserProfileUser' security: - guardianAuth: [] servers: - url: https://login.truste.com description: Generated server url components: schemas: UserCredentials: properties: id: type: string createdDate: type: string format: date-time modifiedDate: type: string format: date-time firstName: type: string lastName: type: string usageConfirmed: type: boolean userIdentifier: type: string orgIdentifier: type: string nymityId: type: string status: type: string enum: - Active - Inactive extension: $ref: '#/components/schemas/UserExtensionDTO' applicationRoles: type: array items: $ref: '#/components/schemas/ClientApplicationRole' uniqueItems: true metaTags: type: object additionalProperties: $ref: '#/components/schemas/UserMetaTag' userGroups: type: array items: $ref: '#/components/schemas/UserGroup' uniqueItems: true permissionProfiles: type: array items: $ref: '#/components/schemas/PermissionProfile' uniqueItems: true location: type: string fullName: type: string password: type: string writeOnly: true accountId: type: string username: type: string credentialsNonExpired: type: boolean permissionProfileId: type: string format: uuid phone: type: string jobTitle: type: string expertiseList: type: array items: type: string uniqueItems: true modifiedById: type: string PageUserProfileUser: properties: totalElements: type: integer format: int64 totalPages: type: integer format: int32 pageable: $ref: '#/components/schemas/PageableObject' size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/UserProfileUser' number: type: integer format: int32 sort: $ref: '#/components/schemas/SortObject' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 empty: type: boolean SortObject: properties: empty: type: boolean sorted: type: boolean unsorted: type: boolean PermissionProfile: properties: id: type: string format: uuid name: type: string externalId: type: string applicationRoles: type: array items: $ref: '#/components/schemas/ClientApplicationRole' uniqueItems: true userGroups: type: array items: $ref: '#/components/schemas/PermissionProfileUserGroup' uniqueItems: true createdDate: type: string format: date-time modifiedDate: type: string format: date-time modifiedById: type: string userCount: type: integer format: int64 accountId: type: string PageableObject: properties: paged: type: boolean pageNumber: type: integer format: int32 pageSize: type: integer format: int32 offset: type: integer format: int64 sort: $ref: '#/components/schemas/SortObject' unpaged: type: boolean PermissionProfileUserGroup: properties: name: type: string clientId: type: string permissionProfileId: type: string format: uuid writeOnly: true UserMetaTag: properties: id: type: string format: uuid value: type: string metaTagId: type: string format: uuid metaTagName: type: string UserProfileUser: properties: remarks: type: string default: type: boolean userCredentialsId: type: string userProfileId: type: string remark: type: string writeOnly: true UserGroup: properties: name: type: string clientId: type: string applicationClientId: type: string ClientApplicationRole: properties: id: type: string identifier: type: string name: type: string description: type: string permissions: type: string UserExtensionDTO: properties: userMgrId: type: string timeZone: type: string locale: type: string totpEnabled: type: boolean securitySchemes: guardianAuth: type: oauth2 scheme: bearer bearerFormat: JWT flows: implicit: authorizationUrl: https://login.truste.com/oauth/authorize tokenUrl: https://login.truste.com/oauth/token scopes: openid: OpenID x-refined-from: - trustarc-guardian-openapi.json - trustarc-guardian-openapi.yml