15.7 REST Service user API
Learn to use REST Service user
API. Log in as
tfaadmin
user to access these REST endpoints.
- add
Use POST requests to add users to Oracle Trace File Analyzer REST Services. - delete
Use POST requests to delete an Oracle Trace File Analyzer REST Services user. - update
Use POST requests to update the password of an Oracle Trace File Analyzer REST Services user.
Parent topic: Using REST Service
15.7.1 add
Use POST requests to add users to Oracle Trace File Analyzer REST Services.
Syntax
/tfactl/user/add
Example 15-14 add
Input:
{
"userName" : "test",
"password" : "test"
}
Output:
{
"status": "SUCCESS",
"message": "Successfully added test to TFA REST Services"
}
Parent topic: REST Service user API
15.7.2 delete
Use POST requests to delete an Oracle Trace File Analyzer REST Services user.
Syntax
/tfactl/user/delete
Example 15-15 delete
Input:
{
"userName" : "test"
}
Output:
{
"status": "SUCCESS",
"message": "Successfully removed test from TFA REST Services"
}
Parent topic: REST Service user API
15.7.3 update
Use POST requests to update the password of an Oracle Trace File Analyzer REST Services user.
Syntax
/tfactl/user/update
Example 15-16 update
Input:
{
"password" : "test"
}
Output:
{
"status": "SUCCESS",
"message": "Successfully updated users's profile in TFA"
}
Parent topic: REST Service user API