Bad request error in auth0 authorization api (Add members to group)

Following documentation of authorization extension I am trying to add existing user to existing group for which my curl request look like this
curl --request PATCH \ --url '' \ --header 'Authorization: Bearer <apitoken>' \ --data '[ "5cea5a5e168bd110f8cb2b02" ]'

but I am getting following error in response

{"statusCode":400,"error":"Bad Request","message":"\"value\" must be an array","validation":{"source":"payload","errors":[{"key":"value","path":"value","message":"\"value\" must be an array","type":"array","constraint":"base"}]}}
Am I doing something wrong here ? My extension url is good and also group id and user id exist

1 Like

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?