Changes

75 bytes added ,  16:11, 15 February 2022
no edit summary
Line 1: Line 1:  
__TOC__
 
__TOC__
 +
 +
    
==Using a Personal Access Token (PAT) to manage RMS credits==
 
==Using a Personal Access Token (PAT) to manage RMS credits==
    
In this example, we will be using a Personal Access Token to manage and monitor our RMS credit balance as well as create a credit code used for transferring credits between different accounts.
 
In this example, we will be using a Personal Access Token to manage and monitor our RMS credit balance as well as create a credit code used for transferring credits between different accounts.
 +
 +
===Two-Factor Authentication===
 +
----
    
Firstly, to create a Personal Access Token, your account must have Two-Factor Authentication enabled.
 
Firstly, to create a Personal Access Token, your account must have Two-Factor Authentication enabled.
Line 10: Line 15:     
Once Two-Factor authentication is enabled, you can then head over to the API → Access tokens page of your Account settings to begin creating a Personal Access token.  
 
Once Two-Factor authentication is enabled, you can then head over to the API → Access tokens page of your Account settings to begin creating a Personal Access token.  
 +
 +
===Add new access token===
 +
----
    
Once there, simply press Add new access token.  
 
Once there, simply press Add new access token.  
Line 18: Line 26:  
* credit_transfer_codes:read
 
* credit_transfer_codes:read
 
* credit_transfer_codes:write
 
* credit_transfer_codes:write
 +
 +
    
These scopes will allow us to read information about our current credits and credit codes, as well as create new credit codes. After selecting the necessary scopes, press Save Personal Access Token – you will be shown a table containing your Personal Access Token. WARNING: This is the only time the created access token will be shown, make sure to copy it, as you will not be able to see it again.
 
These scopes will allow us to read information about our current credits and credit codes, as well as create new credit codes. After selecting the necessary scopes, press Save Personal Access Token – you will be shown a table containing your Personal Access Token. WARNING: This is the only time the created access token will be shown, make sure to copy it, as you will not be able to see it again.

Navigation menu