src/Client.php
public function addRole($name)
    {
        $params = [
            'name' => $name,
        ];

        $body = $this->request(self::URI_AUTH_ROLE_ADD, $params);

        return $body;
    }
public function addRole($name)
    {
        $params = [
            'name' => $name,
        ];

        $body = $this->request(self::URI_AUTH_ROLE_ADD, $params);

        return $body;
    }
public function addRole ( $ name ) { $ params = [ 'name' => $ name , ] ; $ body = $ this -> request ( self :: URI_AUTH_ROLE_ADD , $ params ) ; return $ body ; }
add a new role.

@param string $name
@return array
@throws \GuzzleHttp\Exception\BadResponseException
add a new role .