Searching through the username and authenticator from the UserKey object, clone roles from source user to destination user. If replaceExistingRoles param is true, replace operation is executed. Otherwise, attach operation is executed. The new roles list that the destination user now has is returned.
The new destination user role list
Unauthorized request. Make sure token was included and is valid and try again.
Forbidden. You are not permitted to access the requested resource.
Not Found. The specified resource (or resource referred to by id) was not found
{- "userKeySource": {
- "username": "string",
- "authenticator": "string"
}, - "userKeyDestination": {
- "username": "string",
- "authenticator": "string"
}, - "replaceExistingRoles": false
}
[- {
- "name": "string",
- "description": "string",
- "internal": false,
- "privileges": [
- {
- "name": "string",
- "description": "string"
}
]
}
]