API call requesting Gold Image access results in 400 error

Solution Verified - Updated -

Issue

  • Executing API call to request Gold Image access results in 400 error.
  • API call for Gold Image access fails with Bad Request error.
# curl -H "Authorization: Bearer $token" -X POST https://api.access.redhat.com/management/v1/cloud_access_providers/MSAZ/goldimage -d '{"images":["rhel-byos"],"accounts": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx1","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx2"]}'


{"error":{"code":400,"message":"Bad Request"}}

Environment

  • Red Hat Cloud Access
  • Microsoft Azure

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content