10.1 CLEAR_TOKENS Procedure
This procedure clears all acquired tokens for a given credential. Applies only to OAuth2 based flows, where the Client ID and Client Secret are used to obtain an Access Token with a certain expiry time. This call clears the obtained tokens.
                  
Syntax
PROCEDURE CLEAR_TOKENS( p_credential_static_id IN VARCHAR2);Parameters
Table 10-1 CLEAR_TOKENS Procedure Parameters
| Parameters | Description | 
|---|---|
| 
 | The credential static ID. | 
Example
The following example clears all obtained tokens for the credential OAuth Login.
                  
begin
    apex_credential.clear_tokens(
    p_credential_static_id => 'OAuth Login' );
end;Parent topic: APEX_CREDENTIAL