Hey guys,
I've been playing around with the new API and absolutely loving it. Big improvement over the old one!
Everything seem to be working great except post methods. For example, I'm trying to grant and external user access following the below documentation.
Swagger UI
Extremecloudiq |
remove preview |
|
I'm using the following URL - https://api.extremecloudiq.com/users/external
Not matter what I put in the body I always get an 400 error as per below.
{
"error_code": "INVALID_ARGUMENT",
"error_id": "b4c66c4cc3284a6dbb66234c17334d5d",
"error_message": "INVALID_ARGUMENT: core.service.invalid.data"
}
I've tried multiple different user accounts but always the same outcome. Any known issues at all?
Any help is much appreciated.
Cheers
Update: Including Raw Output with username replaced.
POST /users/external HTTP/1.1
Authorization: Bearer [Placeholder token]
Host: api.extremecloudiq.com
Content-Type: application/json
Content-Length: 116
{
"login_name": "xxxx.xxxx@xxxx.nz",
"user_role": "ADMINISTRATOR",
"enable_api_access": "true"
}