7.7 REST Service user API

Learn to use REST Service user API. Log in as tfaadmin user to access these REST endpoints.

7.7.1 add

Use POST requests to add users to Oracle Trace File Analyzer REST Services.

Syntax

/tfactl/user/add

Example 7-14 add

Input:

{
  "userName" : "test",
  "password" : "test"
}

Output:

{
  "status": "SUCCESS",
  "message": "Successfully added test to TFA REST Services"
}

7.7.2 delete

Use POST requests to delete an Oracle Trace File Analyzer REST Services user.

Syntax

/tfactl/user/delete

Example 7-15 delete

Input:

{
  "userName" : "test"
}

Output:

{
  "status": "SUCCESS",
  "message": "Successfully removed test from TFA REST Services"
}

7.7.3 update

Use POST requests to update the password of an Oracle Trace File Analyzer REST Services user.

Syntax

/tfactl/user/update

Example 7-16 update

Input:

{
  "password" : "test"
}

Output:

{
  "status": "SUCCESS",
  "message": "Successfully updated users's profile in TFA"
}