Adds the user to the specified user group IDs passed in the body and removes all other user groups for user except harness managed user groups
Bad Request
Internal server error
Adds the user to specified user group IDs and removes all other user groups for user except harness managed user groups
{- "userGroupIdsToAdd": [
- "string"
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Returns list of added users to a given scope
{- "emails": [
- "string"
], - "roleBindings": [
- {
- "roleIdentifier": "string",
- "roleName": "string",
- "roleScopeLevel": "string",
- "resourceGroupIdentifier": "string",
- "resourceGroupName": "string",
- "managedRole": true
}
], - "userGroups": [
- "string"
], - "userSettings": [
- {
- "identifier": "string",
- "value": "string"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates the User password
Bad Request
Internal server error
Returns whether the operation is successful or not with readable response.
{- "currentPassword": "string",
- "newPassword": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Check whether the user is last admin at scope or not
Bad Request
Internal server error
Returns Boolean status whether the user is last admin at scope or not
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Disables two-factor-auth for an user in an account
Bad Request
Internal server error
Returns user information
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Returns the user metadata along with rolesAssignments by userId and scope
Bad Request
Internal server error
Returns the user metadata along with rolesAssignments by userId and scope
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
List of all the user's metadata along with rolesAssignments who have access to given scope
Bad Request
Internal server error
Returns list of all the user's metadata along with rolesAssignments who have access to given scope
{- "resourceGroupIdentifiers": [
- "string"
], - "roleIdentifiers": [
- "string"
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Gets two factor authentication settings information of the current logged in user
Bad Request
Internal server error
Returns current logged in user's two factor authentication info
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Gets current logged in User information
Bad Request
Internal server error
Returns current logged in user info
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get list of user's for a given scope
Bad Request
Internal server error
Returns the list of user's Metadata for a given scope
{- "searchTerm": "string",
- "identifiers": [
- "string"
], - "emails": [
- "string"
], - "parentFilter": "NO_PARENT_SCOPES"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates the User information
Bad Request
Internal server error
Returns the update User information
{- "name": "string",
- "email": "string",
- "givenName": "string",
- "familyName": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Remove user as the collaborator from the scope
Bad Request
Internal server error
Returns Boolean status whether request was successful or not
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Reset Two-Factor authorization.
Bad Request
Internal server error
Successfully reset two factor authorization for an account
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
unlock user in a given scope
Bad Request
Internal server error
Returns user information
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Enables two-factor-auth for an user in an account
Bad Request
Internal server error
Returns user information
{- "userId": "string",
- "email": "string",
- "twoFactorAuthenticationEnabled": true,
- "mechanism": "TOTP",
- "totpSecretKey": "string",
- "totpqrurl": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates the User information
Bad Request
Internal server error
Returns the update User information
{- "uuid": "string",
- "name": "string",
- "email": "string",
- "token": "string",
- "defaultAccountId": "string",
- "intent": "string",
- "accounts": [
- {
- "uuid": "string",
- "accountName": "string",
- "companyName": "string",
- "defaultExperience": "NG",
- "createdFromNG": true,
- "isNextGenEnabled": true,
- "nextGenEnabled": true
}
], - "admin": true,
- "twoFactorAuthenticationEnabled": true,
- "emailVerified": true,
- "locked": true,
- "disabled": true,
- "signupAction": "string",
- "edition": "string",
- "billingFrequency": "string",
- "utmInfo": {
- "utmSource": "string",
- "utmContent": "string",
- "utmMedium": "string",
- "utmTerm": "string",
- "utmCampaign": "string"
}, - "externallyManaged": true,
- "givenName": "string",
- "familyName": "string",
- "externalId": "string",
- "createdAt": 0,
- "lastUpdatedAt": 0,
- "userPreferences": {
- "property1": "string",
- "property2": "string"
}, - "isEnrichedInfoCollected": true
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}