Application & Process Automation
- Getting Started
- Common Usage Scenarios
- Troubleshooting
- Using Custom IDs
- API Method Reference
-
- GetPrograms
- GetForms
- GetFormSchema
- GetProjects
- GetProjectsByNumber
- GetProjectsByData
- CreateNewProject
- GetAllProjectData - Admin only
- GetProjectData
- SetProjectData
- GetActiveAttachment
- GetAttachmentAsAdmin – Admin only
- SetProjectAttachment
- SetAttachmentMetadata
- GetAttachmentMetadata
- SubmitProject
- GetStatusList – Admin only
- GetCustomListChoices
- GetProjectStatusHistory – Admin only
- SetProjectStatus – Admin only
- GetExportProject – Admin only
- CreateMfaSessionToken
- DeleteMfaSessionToken
- SetAssignee
- SetProjectOwner
- GetInquiryThreads – Admin Only
- GetNotesInInquiryThread – Admin Only
- SetInquiryNote – Admin Only
- SetInquiryThreadStatus – Admin Only
- SetInquiryThreadExternalId – Admin Only
- SetProjectStatusReportAs – Admin only
- Code Samples
DeleteMfaSessionToken
Deletes an MFA Session Token belonging to the requesting user, identified by the TokenId. It is allowed to use an existing MST as the second authentication factor in a request to delete the same MST as long as it has not expired. Creating a new MST also has the side effect of deleting any existing MSTs.
HTTP verb: DELETE
Required Inputs: TokenId
HTTP verb: DELETE
Required Inputs: TokenId
Path parameter | Description | |
---|---|---|
TokenId | The ID of the MFA Session Token that you want to delete. The MFA Session Token must belong to the user making the call. |
If the requests succeeds, no response will be returned.
// Delete the MFA Session Token with the given tokenId. Will only succeed
// if the user has MFA enabled and the token belongs to the user making the
// request.
public void DeleteMfaSessionToken(
string username,
string password,
string apiKey,
string tokenId)
{
// Generate url and execute request with the XML payload we created earlier
string url = "/Accounts/MfaSessionTokens/" + tokenId;
MakeDeleteRequest(BaseUrl + url, username, password, apiKey);
}
See Chapter Code Samples for MakeDeleteRequest sample code.
What’s Next?