10857 questions

12933 answers


25486 members

0 votes
13 views 1 comments
ago by

I have created API access token with the following scopes:

  • device_credits:read
  • credits:read
  • credits:write
  • command:execute

 When I try a PUT request to /devices​/credit with

                          "data": [
                              "device_id": (device id 1123123),
                              "auto_extend_credit": false,
                              "credit_enabled": true

I am getting a FORBIDDEN response:

{"success":false, "errors ":[{"code":"FORBIDDEN","message":"Forbidden."}]}"

Do I need to grant some additional scopes?

1 Answer

–1 vote
ago by


You can find the full guide for RMS credit code creation here.

Also, please make sure, that you are properly authorized

ago by
The referred document deals with managing credits (transferring them, generating codes etc.), but not with applying already existing credit to a particular device, which is where I am facing the problem reported