How to create users in the Red Hat Customer Portal using the API

Solution Verified - Updated -

Issue

  • How can users be created using API calls?
  • When trying to create a new user using the /account/v1/accounts/<ACCOUNT-ID>/users endpoint, it fails with the following error message:

    {
    "type": "https://user.api.redhat.com/problems/validation-exception",
    "title": "Bad Request",
    "status": 400,
    "detail": "Input validation failed",
    "errors": {}
    }
    

Environment

  • Red Hat Customer Portal

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