Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Updates the credentials of a Service Accounta service account’s credentials.

To obtain this endpoint’s required URL, systemKey, and token, do the following:

...

curl -X POST 'https://iot.clearblade.com/api/v/1/code/aae9b9b30c8aa4e49081c7eeb9bb07/updateProjectCredentials' -H 'ClearBlade-UserToken: {token}' -d '{"credentials": {"type": "abc", "project_id": "abc", "private_key_id": "abc", "private_key": "abc", "client_email": "abc", "client_id": ": "{project}", "region": "{region}", "registry": "{registry}"abc", "auth_uri": "abc", "token_uri": "abc", "token_uri": "abc", "auth_provider_x509_cert_url": "https://", "client_x509_cert_url": "https://"}}'

Using the instructions at the start of this document, replace the following: https://iot.clearblade.com with your URL. aae9b9b30c8aa4e49081c7eeb9bb07 with your systemKey. {token} with your token.