Update application text keys

Update application text keys for a specified text key type, and for a specified instance of Cloud Identity Service.

Request

POST /GmaApi/ss/updateAppTextKeys

Example cURL request

curl -v -i -X POST -H "Authorization: Bearer 73d2039d-7767-495f-b40c-f766fcf8f0e2" -H "Accept: application/json" -d {"instanceId":"3","updatedKeys":{"en-us":{"textKeys":{"autocompleteKeys": {"services-col1Label":"NameTest"}}}}} http://hostname/GmaApi/ss/updateAppTextKeys

Resource URI

https://hostname/GmaApi/ss/updateAppTextKeys

Authorization header

For information about obtaining an access token, see Request an access token.

Content type

application/json
A JSON representation of a text keys form. The following example shows a JSON representation of an autocomplete text keys form.
{  
  "instanceId":"",
  "updatedKeys":{  
    "en-us":{  
      "textKeys":{  
        "autocompleteKeys":{  
          "services-col1Label":""
        }
      }
    }
  }
}

Request parameters

Table 1. Request body parameters
Parameter Type Required Description
instanceId String Yes ID of the instance to update.
updatedKeys Object Yes Object that contains the text key language, type, and text keys.
language code String Yes The language code for the text keys, for example, en-us.
textKeys String Yes Object that contains the text key type, and text keys.
key type String Yes The text key type, for example autocompleteKeys. The following text key types can be specified.
  • autocompleteKeys
  • buttonKeys
  • errorKeys
  • footerKeys
  • formKeys
  • placeholderTextKeys
  • tooltipTextKeys
  • headerKeys
  • attributeTextKeys
  • profileKeys
  • customValidationKeys
  • validationKeys
key sub type String Optional The text key sub type, for example services-col1Label, and value, for example Name.

Example response

{"status":{"success":true,"apiError":false,"message":"Success","errors":{}}}

Response parameters

Table 2. Response parameters
Parameter name Description
status Returns whether the request was successful. Returns an error when the request is unsuccessful. For more information about errors, see Errors.