RapidIdentity Product Guide: Legacy UI

Creating an API Key

Below is an example of a REST call to create an API key for a specific, fully qualified domain name (FQDN). A successful response returns the API Key unique ID.

POST /restservices/restservice.svc/CreateAPIkey

REQUEST:

    curl
      --request POST
      --url https://<MFAServerHostname/restservices/restservice.svc/CreateAPIkey 
      --data '{
        "fqdn": "test123",
        "apiKey": "12345678"
      }'
  

REQUEST BODY:

    { 
      "fqdn": "test123",
      "apiKey": "12345678"
    }
  

RESPONSE 200 OK:

    {
      "status": "success",
      "Result": "db1199fc-af9d-4fb6-b692-7c078acd02c3"
    }