Additional properties not allowed: description - Can't associate permissions with a role

Hi,
I want to associate permissions with a role using API.
This is my request:

request({
    method: 'POST',
    url: {url} + '/api/v2/roles/' + {roleID} + '/permissions',
    headers: {
    'content-type': 'application/json',
    authorization: `Bearer ${accessToken}`
    },
    body: {
        permissions: [
            {
                'resource_server_identifier': {apiID},
                'permission_name': 'permission name',
                'description': 'description'
            }
        ]
    },
    json: true
}, function (error, response, body) {});

I’m getting the following error:

statusCode: 400,
error: 'Bad Request',
message: 'Payload validation error: \'Additional properties not allowed: description\' on property permissions[0] ({description}).',
errorCode: 'invalid_body'

It works OK without “description” property, but in that case how can I give a description to the permission?

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?